From c9dced37ba8df762e1e0776c24d32c4c76d677c1 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Mon, 27 May 2024 18:28:37 +0100 Subject: Tests: print unit.log on unsuccessful unmount --- test/conftest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/conftest.py b/test/conftest.py index 2d8eabad..91c59e17 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -429,6 +429,7 @@ def _clear_temp_dir(): temporary_dir = unit_instance['temp_dir'] if is_findmnt and not waitforunmount(temporary_dir, timeout=600): + Log.print_log() sys.exit(f'Could not unmount filesystems in tmpdir ({temporary_dir}).') for item in Path(temporary_dir).iterdir(): -- cgit