1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/fileutils/test_fileutils.rb: File.link raises EINVAL on Win9x. [ruby-dev:22713]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2004-02-12 20:21:24 +00:00
parent 08763eed7f
commit 0c30c6836b
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Feb 13 05:18:58 2004 Minero Aoki <aamine@loveruby.net>
* test/fileutils/test_fileutils.rb: File.link raises EINVAL on
Win9x. [ruby-dev:22713]
Thu Feb 12 21:49:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
* lib/ftools.rb: documented

View file

@ -41,7 +41,7 @@ begin
File.open('linktmp', 'w') {|f| f.puts 'dummy' }
File.link 'linktmp', 'linktest'
HAVE_HARDLINK = true
rescue NotImplementedError
rescue NotImplementedError, Errno::EINVAL
HAVE_HARDLINK = false
ensure
File.unlink 'linktest' if File.exist?('linktest')
@ -68,7 +68,7 @@ class TestFileUtils
def setup
@prevdir = Dir.pwd
tmproot = "#{Dir.tmpdir}/fileutils.rb.#{$$}"
tmproot = TMPROOT
Dir.mkdir tmproot unless File.directory?(tmproot)
Dir.chdir tmproot
my_rm_rf 'data'; Dir.mkdir 'data'