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 | d3fcf49b8387afbfe1047d1311f4b467e1e6936e (patch) | |
tree | 435453b18d2771a8a6d5964b562aec9bc3f1e73f | |
parent | 12f16d0df3109142f6de9284487dab6a86bdd337 (diff) | |
download | ruby-d3fcf49b8387afbfe1047d1311f4b467e1e6936e.tar.gz ruby-d3fcf49b8387afbfe1047d1311f4b467e1e6936e.tar.xz ruby-d3fcf49b8387afbfe1047d1311f4b467e1e6936e.zip |
* test/fileutils/test_fileutils.rb (test_mkdir_p): test expand_path'ed path.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 0d388a4a5..6c4078049 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' |