diff options
Diffstat (limited to 'test')
-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 5df027e850..34d5a73882 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -41,7 +41,7 @@ begin File.open('linktmp', 'w') {|f| f.puts 'dummy' } File.link 'linktmp', 'linktest' HAVE_HARDLINK = true -rescue NotImplementedError, Errno::EINVAL +rescue NotImplementedError, SystemCallError HAVE_HARDLINK = false ensure File.unlink 'linktest' if File.exist?('linktest') |