aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-16 14:16:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-16 14:16:19 +0000
commita6abfa2da77ba94410b4622727df1360bf773f2d (patch)
tree3d6617abbbf6627670f6d638e32add2026134924 /test/fileutils
parent6613580145388bdcdf2c5d195365edf7ba81db6f (diff)
downloadruby-a6abfa2da77ba94410b4622727df1360bf773f2d.tar.gz
test_fileutils.rb: test :preserve option
* test/fileutils/test_fileutils.rb (test_cp_preserve_permissions): should test with setting :preserve option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-rw-r--r--test/fileutils/test_fileutils.rb2
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