From c02ecc2f673a3b2338ceb851b80ed4da6940ef03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 31 Oct 2024 16:50:14 +0100 Subject: [PATCH] tests/command: also wait for exit status --- pkgs/clan-cli/tests/command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/clan-cli/tests/command.py b/pkgs/clan-cli/tests/command.py index 608ae439f..8284c7e69 100644 --- a/pkgs/clan-cli/tests/command.py +++ b/pkgs/clan-cli/tests/command.py @@ -49,6 +49,7 @@ class Command: for p in reversed(self.processes): with contextlib.suppress(OSError): os.killpg(os.getpgid(p.pid), signal.SIGKILL) + p.wait() @pytest.fixture