From: Nikolaus Rath Date: Tue, 9 Jul 2019 12:29:49 +0000 (-0700) Subject: Do not run passthrough test when caching is active. X-Git-Tag: fuse-3.6.2~1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=65075085b589fd75830d64f187f98355842678d7;p=qemu-gpiodev%2Flibfuse.git Do not run passthrough test when caching is active. Readdir caching means that direct modifications to the source directory will not be seen immediately, so the test becomes flaky. Fixes: #416. --- diff --git a/test/test_examples.py b/test/test_examples.py index 26f3b92..5d6dacc 100755 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -194,7 +194,8 @@ def test_passthrough_hp(short_tmpdir, cache, output_checker): tst_open_read(src_dir, mnt_dir) tst_open_write(src_dir, mnt_dir) tst_create(mnt_dir) - tst_passthrough(src_dir, mnt_dir) + if not cache: + tst_passthrough(src_dir, mnt_dir) tst_append(src_dir, mnt_dir) tst_seek(src_dir, mnt_dir) tst_mkdir(mnt_dir)