summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-20 00:17:51 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-20 00:17:51 +0000
commit9a529e70b88da899bc46b78e64c81f40cfd8eb90 (patch)
tree1be369e307a6205e16d45f5c1ffac4e9bec98b77
parent1859f6ead6165ebfd8988bdbe2c35cb47a095d33 (diff)
* test/fileutils/test_fileutils.rb: File.link raises EINVAL on BeOS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--test/fileutils/test_fileutils.rb4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e0b573c3d..b1a8f74fd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 0c5acb600b..8c06f875b2 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')