diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-13 03:35:27 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-13 03:35:27 +0000 |
| commit | 4c40c81eded47641bd566327e0f06e11cf5dbc04 (patch) | |
| tree | 98d2daef7fd6951e0a82653a1ad2461c4f29aec1 | |
| parent | 0c7a1cb7275cbbe73eaee7a3805db190553b727c (diff) | |
| download | ruby-4c40c81eded47641bd566327e0f06e11cf5dbc04.tar.gz ruby-4c40c81eded47641bd566327e0f06e11cf5dbc04.tar.xz ruby-4c40c81eded47641bd566327e0f06e11cf5dbc04.zip | |
* test/fileutils/test_fileutils.rb: File.link may raise EINVAL and EACCES on Windows.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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 90a496124..0c5acb600 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') |
