diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2025-04-12 22:15:00 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2025-04-12 22:15:00 +0300 |
commit | 7016277b54b144514824cfd9d30adcf32bfbfe67 (patch) | |
tree | af4f9fc779958217794b6d4c6f73cbad9c667dc1 /tests | |
parent | f1b6432e1226be1563d5e631ccfa044b74a30b5b (diff) | |
download | bindfs-7016277b54b144514824cfd9d30adcf32bfbfe67.tar.gz |
Updated Vagrant test setup
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_bindfs.rb | 4 |
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') |