/test_ctests / test_notify1: Print cmdline on failure

Tests sometimes fail with

pytest.fail('file system process terminated prematurely')

And it is not clear what actually happens.
This commit is contained in:
Bernd Schubert 2024-03-20 12:02:30 +01:00
parent e48c71d445
commit 0d90a90b06

View File

@ -75,6 +75,7 @@ def test_notify1(tmpdir, name, notify, output_checker):
else:
assert read1 == read2
except:
print("Failure in notify test: '" + str(cmdline) + "'")
cleanup(mount_process, mnt_dir)
raise
else: