From bb52fccb59bb6599af0a3bcfcbb4659b3dc0450e Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Wed, 20 Nov 2019 11:38:33 +0000 Subject: [PATCH] Invoke cleanup() with right arguments. This currently causes hangs if the test fails, cf issue #459. --- test/test_ctests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ctests.py b/test/test_ctests.py index e4ce668..4290f20 100644 --- a/test/test_ctests.py +++ b/test/test_ctests.py @@ -93,7 +93,7 @@ def test_notify_file_size(tmpdir, notify, output_checker): else: assert new_size == size except: - cleanup(mnt_dir) + cleanup(mount_process, mnt_dir) raise else: umount(mount_process, mnt_dir) -- 2.30.2