aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2018-10-09 22:52:04 +0300
committerMartin Pärtel <martin.partel@gmail.com>2018-10-09 22:52:04 +0300
commitf75ddb42ede84cae5d6a27e570edb644e516e2c5 (patch)
tree708435c6f312ae0489723df2df7a6dc99a2063ba /tests
parent93199f24f59d3125beadce0b3ebff0eacb106e2c (diff)
downloadbindfs-f75ddb42ede84cae5d6a27e570edb644e516e2c5.tar.gz
Worked around a weird race in test case "utimens on symlinks".
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_bindfs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_bindfs.rb b/tests/test_bindfs.rb
index 33eaaa4..01327b5 100755
--- a/tests/test_bindfs.rb
+++ b/tests/test_bindfs.rb
@@ -452,6 +452,7 @@ testenv("", :title => "utimens on symlinks") do
symlink('file', 'link')
end
+ sleep 1 # Not sure why this is needed, but something seems to overwrite the atime right after we set it, at least on Bionic.
system("#{$tests_dir}/utimens_nofollow mnt/link 12 34 56 78")
raise "Failed to run utimens_nofollow: #{$?.inspect}" unless $?.success?