From: Bernd Schubert Date: Wed, 20 Mar 2024 11:02:30 +0000 (+0100) Subject: /test_ctests / test_notify1: Print cmdline on failure X-Git-Tag: fuse-3.17.1-rc0~144^2~1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0d90a90b066397fcbc20188e34badc9852403ea9;p=qemu-gpiodev%2Flibfuse.git /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. --- diff --git a/test/test_ctests.py b/test/test_ctests.py index c0afe3d..55db156 100644 --- a/test/test_ctests.py +++ b/test/test_ctests.py @@ -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: