summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file_exhaustive.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index ba4f1e6183..935fd9ec49 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -135,8 +135,8 @@ class TestFileExhaustive < Test::Unit::TestCase
end
def test_stat
- hardlinkfile
fn1 = regular_file
+ hardlinkfile
sleep(1.1)
fn2 = fn1 + "2"
make_file("foo", fn2)
@@ -1044,6 +1044,7 @@ class TestFileExhaustive < Test::Unit::TestCase
def test_test
fn1 = regular_file
+ hardlinkfile
sleep(1.1)
fn2 = fn1 + "2"
make_file("foo", fn2)
@@ -1096,7 +1097,7 @@ class TestFileExhaustive < Test::Unit::TestCase
fn1 = regular_file
hardlinkfile
sleep(1.1)
- fn2 = regular_file + "2"
+ fn2 = fn1 + "2"
make_file("foo", fn2)
fs1, fs2 = File::Stat.new(fn1), File::Stat.new(fn2)
assert_nothing_raised do