diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2019-07-09 05:29:49 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-07-09 05:29:49 -0700 |
commit | 65075085b589fd75830d64f187f98355842678d7 (patch) | |
tree | f22967c78af01604097d885f328bc79c623f8895 /test | |
parent | a0b9cb9d7603d4eda3fdb18952a30c8d914fa85c (diff) | |
download | fuse-65075085b589fd75830d64f187f98355842678d7.tar.gz |
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.
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_examples.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |