mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/fileutils/test_fileutils.rb (test_mkdir_p): test expand_path'ed path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d44d45450f
commit
4f95ee2458
1 changed files with 5 additions and 0 deletions
|
@ -517,6 +517,11 @@ end
|
||||||
assert_directory d
|
assert_directory d
|
||||||
end
|
end
|
||||||
rm_rf 'tmpdir'
|
rm_rf 'tmpdir'
|
||||||
|
dirs.each do |d|
|
||||||
|
mkdir_p File.expand_path(d)
|
||||||
|
assert_directory d
|
||||||
|
end
|
||||||
|
rm_rf 'tmpdir'
|
||||||
|
|
||||||
mkdir_p 'tmp/tmp/tmp', :mode => 0700
|
mkdir_p 'tmp/tmp/tmp', :mode => 0700
|
||||||
assert_directory 'tmp/tmp'
|
assert_directory 'tmp/tmp'
|
||||||
|
|
Loading…
Reference in a new issue