aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-01-02 13:37:40 +0100
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-01-02 13:37:40 +0100
commit6a9bb48ca27604461e545cf9c8638d757aa52f91 (patch)
treec668cfcc0de708245e6c378ef22a34ca98dfa6ef /test
parentgitlab-ci: it's actually the redhat test that was failing (diff)
downloadfirejail-6a9bb48ca27604461e545cf9c8638d757aa52f91.tar.gz
firejail-6a9bb48ca27604461e545cf9c8638d757aa52f91.tar.zst
firejail-6a9bb48ca27604461e545cf9c8638d757aa52f91.zip
tests: wait until sandbox is shutdown before running next command
Diffstat (limited to 'test')
-rwxr-xr-xtest/utils/audit.exp8
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}
35expect {
36 timeout {puts "TESTING ERROR 5.1\n";exit}
37 "Parent is shutting down, bye..."
38}
35after 100 39after 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}
67expect {
68 timeout {puts "TESTING ERROR 11.1\n";exit}
69 "Parent is shutting down, bye..."
70}
63after 100 71after 100
64 72
65send -- "firejail --audit=blablabla\r" 73send -- "firejail --audit=blablabla\r"