summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-28 12:46:36 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-28 12:46:36 +0000
commitffd56c809b8b70456ec5f42d66048ca377e5970d (patch)
treed0f0de421f7f79bf122d9e16bd3f39ec47eaa298 /test
parentc34fc17623eb208ee20bea6523e7222f42868754 (diff)
downloadruby-ffd56c809b8b70456ec5f42d66048ca377e5970d.tar.gz
ruby-ffd56c809b8b70456ec5f42d66048ca377e5970d.tar.xz
ruby-ffd56c809b8b70456ec5f42d66048ca377e5970d.zip
* test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not
a directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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 a2bafcc86..9fb099175 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -303,7 +303,7 @@ if have_symlink?
assert_raises(Errno::EEXIST) {
ln 'tmp/cptmp', 'tmp/cptmp_symlink'
}
- File.symlink '.', 'tmp/symlink'
+ File.symlink 'cptmp', 'tmp/symlink'
assert_raises(Errno::EEXIST) {
ln 'tmp/symlink', 'tmp/symlink'
}