diff options
-rw-r--r-- | test/fileutils/test_fileutils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 0834187b95..ec57f5f4e4 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -272,7 +272,7 @@ class TestFileUtils < Test::Unit::TestCase bug4507 = '[ruby-core:35518]' touch 'tmp/cptmp' chmod 0755, 'tmp/cptmp' - cp 'tmp/cptmp', 'tmp/cptmp2' + cp 'tmp/cptmp', 'tmp/cptmp2', :preserve => true assert_equal_filemode('tmp/cptmp', 'tmp/cptmp2', bug4507) end |