From f75ddb42ede84cae5d6a27e570edb644e516e2c5 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Tue, 9 Oct 2018 22:52:04 +0300 Subject: Worked around a weird race in test case "utimens on symlinks". --- tests/test_bindfs.rb | 1 + 1 file changed, 1 insertion(+) 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? -- cgit v1.2.3