diff options
author | HereThereBeDragons <HereThereBeDragons@users.noreply.github.com> | 2023-06-30 14:57:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 13:57:06 +0100 |
commit | 51bc827df873d9ff4069b83796cd32fcb6bd659e (patch) | |
tree | 157b5c7d6d300f6006d10d7c1676a8a0300ce524 /test/test_examples.py | |
parent | 756726800683b22b9c4eb75bf56bcf30cb50cca1 (diff) | |
download | libfuse-51bc827df873d9ff4069b83796cd32fcb6bd659e.tar.gz |
Make expire only function fail if no kernel support (#789)
Diffstat (limited to 'test/test_examples.py')
-rwxr-xr-x | test/test_examples.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_examples.py b/test/test_examples.py index 958e633..96e4108 100755 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -347,6 +347,8 @@ def test_notify_inval_entry(tmpdir, only_expire, notify, output_checker): cmdline.append('--no-notify') if only_expire == "expire_entries": cmdline.append('--only-expire') + if fuse_proto < (7,38): + pytest.skip('only-expire not supported by running kernel') mount_process = subprocess.Popen(cmdline, stdout=output_checker.fd, stderr=output_checker.fd) try: |