summaryrefslogtreecommitdiffhomepage
path: root/test/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/conftest.py')
-rw-r--r--test/conftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/conftest.py b/test/conftest.py
index 2fe4d8dc..91c59e17 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -429,7 +429,8 @@ def _clear_temp_dir():
temporary_dir = unit_instance['temp_dir']
if is_findmnt and not waitforunmount(temporary_dir, timeout=600):
- sys.exit('Could not unmount filesystems in tmpdir ({temporary_dir}).')
+ Log.print_log()
+ sys.exit(f'Could not unmount filesystems in tmpdir ({temporary_dir}).')
for item in Path(temporary_dir).iterdir():
if item.name not in [