1
0
Fork 0
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:
aamine 2003-12-11 12:07:17 +00:00
parent d44d45450f
commit 4f95ee2458

View file

@ -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'