diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/fileutils/test_fileutils.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Feb 13 12:35:08 2004 Minero Aoki <aamine@loveruby.net> + + * test/fileutils/test_fileutils.rb: File.link may raise EINVAL and + EACCES on Windows. + Thu Feb 12 21:45:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au> * lib/ftools.rb: documented diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 90a496124b..0c5acb600b 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 +rescue NotImplementedError, SystemCallError HAVE_SYMLINK = false ensure File.unlink 'symlink_test' if File.symlink?('symlink_test') |