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 /test/fileutils | |
| 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
Diffstat (limited to 'test/fileutils')
| -rw-r--r-- | test/fileutils/test_fileutils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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') |
