mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Already nlink is properly set on Windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
990c8759db
commit
713f360dcd
1 changed files with 1 additions and 5 deletions
|
@ -1521,11 +1521,7 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
assert_integer_or_nil(fs1.rdev_minor)
|
||||
assert_integer(fs1.ino)
|
||||
assert_integer(fs1.mode)
|
||||
unless /emx|mswin|mingw/ =~ RUBY_PLATFORM
|
||||
# on Windows, nlink is always 1. but this behavior will be changed
|
||||
# in the future.
|
||||
assert_equal(hardlinkfile ? 2 : 1, fs1.nlink)
|
||||
end
|
||||
assert_equal(hardlinkfile ? 2 : 1, fs1.nlink)
|
||||
assert_integer(fs1.uid)
|
||||
assert_integer(fs1.gid)
|
||||
assert_equal(3, fs1.size)
|
||||
|
|
Loading…
Add table
Reference in a new issue