diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-11 12:07:17 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-11 12:07:17 +0000 |
commit | 4f95ee24589bda93fd828d93cca8249ae7dbacc6 (patch) | |
tree | 435453b18d2771a8a6d5964b562aec9bc3f1e73f /test/fileutils/test_fileutils.rb | |
parent | d44d45450fc52176c043cd35116d628e2646e797 (diff) | |
download | ruby-4f95ee24589bda93fd828d93cca8249ae7dbacc6.tar.gz |
* 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
Diffstat (limited to 'test/fileutils/test_fileutils.rb')
-rw-r--r-- | test/fileutils/test_fileutils.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 0d388a4a5f..6c40780492 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -517,6 +517,11 @@ end assert_directory d end 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 assert_directory 'tmp/tmp' |