diff options
Diffstat (limited to 'tests/test_bindfs.rb')
-rwxr-xr-x | tests/test_bindfs.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_bindfs.rb b/tests/test_bindfs.rb index 29210b7..9eef27d 100755 --- a/tests/test_bindfs.rb +++ b/tests/test_bindfs.rb @@ -33,6 +33,10 @@ $have_fuse_3 = Proc.new do system("pkg-config --exists fuse3") $?.success? end.call +$have_fuse_3_readdir_bug = $have_fuse_3 && Proc.new do + system("pkg-config --max-version=3.10.1 fuse3") + $?.success? +end.call $have_fuse_29 = !$have_fuse_3 && Proc.new do v = `pkg-config --modversion fuse`.split('.') @@ -466,7 +470,7 @@ testenv("", :title => "preserves inode numbers") do assert { File.stat('mnt/dir').ino == File.stat('src/dir').ino } end -unless $have_fuse_3 # TODO: re-enable after working around https://github.com/libfuse/libfuse/issues/583 +unless $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') |