From f56d1d8777c7a9f188c1247a666bce38d928f63f Mon Sep 17 00:00:00 2001 From: eban Date: Fri, 28 Nov 2003 12:46:36 +0000 Subject: [PATCH] * test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not a directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 9 +++++++-- test/fileutils/test_fileutils.rb | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 93f4df5635..83685278f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 28 21:44:40 2003 WATANABE Hirofumi + + * test/fileutils/test_fileutils.rb (test_ln_s): should be a file, not + a directory. + Fri Nov 28 19:37:56 2003 Nobuyoshi Nakada * hash.c (env_has_value, env_index): must match exactly. @@ -71,8 +76,8 @@ Thu Nov 27 16:58:48 2003 WATANABE Hirofumi Wed Nov 26 15:38:47 2003 WATANABE Hirofumi - * test/fileutils/test_fileutils.rb: should take the existing symbolic - link for OpenBSD. + * test/fileutils/test_fileutils.rb (test_ln_s): should take the + existing symbolic link for OpenBSD. Wed Nov 26 04:48:42 2003 why the lucky stiff diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index a2bafcc867..9fb0991752 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' }