diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-16 14:16:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-16 14:16:19 +0000 |
commit | a6abfa2da77ba94410b4622727df1360bf773f2d (patch) | |
tree | 3d6617abbbf6627670f6d638e32add2026134924 | |
parent | 6613580145388bdcdf2c5d195365edf7ba81db6f (diff) | |
download | ruby-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
-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 |