From 0d90a90b066397fcbc20188e34badc9852403ea9 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Wed, 20 Mar 2024 12:02:30 +0100 Subject: [PATCH] /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. --- test/test_ctests.py | 1 + 1 file changed, 1 insertion(+) 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: