diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2020-01-02 13:37:40 +0100 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2020-01-02 13:37:40 +0100 |
commit | 6a9bb48ca27604461e545cf9c8638d757aa52f91 (patch) | |
tree | c668cfcc0de708245e6c378ef22a34ca98dfa6ef | |
parent | gitlab-ci: it's actually the redhat test that was failing (diff) | |
download | firejail-6a9bb48ca27604461e545cf9c8638d757aa52f91.tar.gz firejail-6a9bb48ca27604461e545cf9c8638d757aa52f91.tar.zst firejail-6a9bb48ca27604461e545cf9c8638d757aa52f91.zip |
tests: wait until sandbox is shutdown before running next command
-rwxr-xr-x | test/utils/audit.exp | 8 |
1 files changed, 8 insertions, 0 deletions
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 { | |||
32 | timeout {puts "TESTING ERROR 5\n";exit} | 32 | timeout {puts "TESTING ERROR 5\n";exit} |
33 | "dev directory seems to be fully populated" | 33 | "dev directory seems to be fully populated" |
34 | } | 34 | } |
35 | expect { | ||
36 | timeout {puts "TESTING ERROR 5.1\n";exit} | ||
37 | "Parent is shutting down, bye..." | ||
38 | } | ||
35 | after 100 | 39 | after 100 |
36 | 40 | ||
37 | 41 | ||
@@ -60,6 +64,10 @@ expect { | |||
60 | timeout {puts "TESTING ERROR 11\n";exit} | 64 | timeout {puts "TESTING ERROR 11\n";exit} |
61 | "dev directory seems to be fully populated" | 65 | "dev directory seems to be fully populated" |
62 | } | 66 | } |
67 | expect { | ||
68 | timeout {puts "TESTING ERROR 11.1\n";exit} | ||
69 | "Parent is shutting down, bye..." | ||
70 | } | ||
63 | after 100 | 71 | after 100 |
64 | 72 | ||
65 | send -- "firejail --audit=blablabla\r" | 73 | send -- "firejail --audit=blablabla\r" |