aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_bindfs.rb
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2025-04-12 22:15:00 +0300
committerMartin Pärtel <martin.partel@gmail.com>2025-04-12 22:15:00 +0300
commit7016277b54b144514824cfd9d30adcf32bfbfe67 (patch)
treeaf4f9fc779958217794b6d4c6f73cbad9c667dc1 /tests/test_bindfs.rb
parentf1b6432e1226be1563d5e631ccfa044b74a30b5b (diff)
downloadbindfs-7016277b54b144514824cfd9d30adcf32bfbfe67.tar.gz
Updated Vagrant test setup
Diffstat (limited to 'tests/test_bindfs.rb')
-rwxr-xr-xtests/test_bindfs.rb4
1 files changed, 2 insertions, 2 deletions
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')