From 6a9bb48ca27604461e545cf9c8638d757aa52f91 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Thu, 2 Jan 2020 13:37:40 +0100 Subject: tests: wait until sandbox is shutdown before running next command --- test/utils/audit.exp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/utils/audit.exp b/test/utils/audit.exp index 49d08d22d..15400da31 100755 --- a/test/utils/audit.exp +++ b/test/utils/audit.exp @@ -32,6 +32,10 @@ expect { timeout {puts "TESTING ERROR 5\n";exit} "dev directory seems to be fully populated" } +expect { + timeout {puts "TESTING ERROR 5.1\n";exit} + "Parent is shutting down, bye..." +} after 100 @@ -60,6 +64,10 @@ expect { timeout {puts "TESTING ERROR 11\n";exit} "dev directory seems to be fully populated" } +expect { + timeout {puts "TESTING ERROR 11.1\n";exit} + "Parent is shutting down, bye..." +} after 100 send -- "firejail --audit=blablabla\r" -- cgit v1.2.3-70-g09d2