From 7016277b54b144514824cfd9d30adcf32bfbfe67 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sat, 12 Apr 2025 22:15:00 +0300 Subject: Updated Vagrant test setup --- tests/test_bindfs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_bindfs.rb') diff --git a/tests/test_bindfs.rb b/tests/test_bindfs.rb index 46c6101..d5af03b 100755 --- a/tests/test_bindfs.rb +++ b/tests/test_bindfs.rb @@ -185,7 +185,7 @@ testenv("--ctime-from-mtime") do sleep(1.1) chmod(0777, mf) - # to_i gives us prceision of 1 sec + # to_i gives us precision of 1 sec assert { File.stat(mf).ctime.to_i == File.stat(mf).mtime.to_i } assert { File.stat(sf).ctime > File.stat(sf).mtime } end @@ -522,7 +522,7 @@ testenv("", :title => "preserves inode numbers") do assert { File.stat('mnt/dir').ino == File.stat('src/dir').ino } end -unless $have_fuse_3_readdir_bug # https://github.com/libfuse/libfuse/issues/583 +if $have_fuse3 && !$have_fuse_3_readdir_bug # https://github.com/libfuse/libfuse/issues/583 testenv("", :title => "preserves readdir inode numbers") do touch('src/file') mkdir('src/dir') -- cgit v1.2.3