diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | test/fileutils/test_fileutils.rb | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Tue Jul 20 09:15:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * test/fileutils/test_fileutils.rb: File.link raises EINVAL on BeOS. + Mon Jul 19 01:15:07 2004 GOTOU Yuuzou <gotoyuzo@notwork.org> * lib/webrick/httpservlet/cgihandler.rb diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 0c5acb600..8c06f875b 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -30,7 +30,7 @@ end begin File.symlink 'not_exist', 'symlink_test' HAVE_SYMLINK = true -rescue NotImplementedError, SystemCallError +rescue NotImplementedError HAVE_SYMLINK = false ensure File.unlink 'symlink_test' if File.symlink?('symlink_test') @@ -43,7 +43,7 @@ begin File.open('linktmp', 'w') {|f| f.puts 'dummy' } File.link 'linktmp', 'linktest' HAVE_HARDLINK = true -rescue NotImplementedError +rescue NotImplementedError, SystemCallError HAVE_HARDLINK = false ensure File.unlink 'linktest' if File.exist?('linktest') |
