From d3fcf49b8387afbfe1047d1311f4b467e1e6936e Mon Sep 17 00:00:00 2001 From: aamine Date: Thu, 11 Dec 2003 12:07:17 +0000 Subject: * 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 --- test/fileutils/test_fileutils.rb | 5 +++++ 1 file changed, 5 insertions(+) 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' -- cgit