diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-19 01:37:28 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-19 01:37:28 +0000 |
| commit | 1f62eaed7050ec37badf6e7e8e0417d2c20ff8d4 (patch) | |
| tree | a92f04d7a049c8b0d87d82d7d358465a387b2220 /test | |
| parent | 396e129086e7d6de1d82c0a18c7667174080ed11 (diff) | |
| download | ruby-1f62eaed7050ec37badf6e7e8e0417d2c20ff8d4.tar.gz ruby-1f62eaed7050ec37badf6e7e8e0417d2c20ff8d4.tar.xz ruby-1f62eaed7050ec37badf6e7e8e0417d2c20ff8d4.zip | |
* lib/fileutils.rb (cp_r): default is :dereference_root=>true for backward compatibility. [ruby-dev:27145]
* test/fileutils/test_fileutils.rb (test_cp_r): test it.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/fileutils/test_fileutils.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 2cce67cc2..cab51c9e8 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -296,7 +296,10 @@ if have_symlink? cp_r 'tmp/cpr_src2', 'tmp/cpr_dest2' assert_directory 'tmp/cpr_dest2' #assert_not_symlink 'tmp/cpr_dest2' - assert_symlink 'tmp/cpr_dest2' # 2005-05-26: feature change + # * 2005-05-26: feature change on trunk + #assert_symlink 'tmp/cpr_dest2' + # * 2005-09-19: revert for 1.8 (:dereference_root => true by default) + assert_not_symlink 'tmp/cpr_dest2' assert_symlink 'tmp/cpr_dest2/symlink' assert_equal 'SLdest', File.readlink('tmp/cpr_dest2/symlink') end |
