mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/fileutils/test_fileutils.rb: File.link may raise EINVAL and EACCES on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5f2a34486
commit
fe4fa161df
2 changed files with 6 additions and 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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue