aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils/test_fileutils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/fileutils/test_fileutils.rb')
-rw-r--r--test/fileutils/test_fileutils.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index dfe914dc69..25c0e30099 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -308,7 +308,8 @@ class TestFileUtils < Test::Unit::TestCase
touch 'tmp/cptmp'
chmod 0755, 'tmp/cptmp'
cp 'tmp/cptmp', 'tmp/cptmp2'
- assert_equal_filemode('tmp/cptmp', 'tmp/cptmp2', bug4507)
+
+ assert_equal_filemode('tmp/cptmp', 'tmp/cptmp2', bug4507, ~File.umask)
end
def test_cp_preserve_permissions_dir