From 51bc827df873d9ff4069b83796cd32fcb6bd659e Mon Sep 17 00:00:00 2001 From: HereThereBeDragons Date: Fri, 30 Jun 2023 14:57:06 +0200 Subject: Make expire only function fail if no kernel support (#789) --- test/test_examples.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_examples.py') 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: -- cgit v1.2.3