aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_bindfs.rb
diff options
context:
space:
mode:
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')