aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-01-02 13:42:38 +0100
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-01-02 13:42:38 +0100
commit28eab84f13c3d1596e15715f5b17c11e873ab027 (patch)
treee33ba509918300ea0d70923a099b11f1c0c2f453 /test
parenttests: wait until sandbox is shutdown before running next command (diff)
downloadfirejail-28eab84f13c3d1596e15715f5b17c11e873ab027.tar.gz
firejail-28eab84f13c3d1596e15715f5b17c11e873ab027.tar.zst
firejail-28eab84f13c3d1596e15715f5b17c11e873ab027.zip
tests: use pid 1, which will also exist in containers
Diffstat (limited to 'test')
-rwxr-xr-xtest/utils/shutdown.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp
index eb691bbf8..0d5ec5d63 100755
--- a/test/utils/shutdown.exp
+++ b/test/utils/shutdown.exp
@@ -41,7 +41,7 @@ expect {
41} 41}
42after 100 42after 100
43 43
44send -- "firejail --shutdown=10\r" 44send -- "firejail --shutdown=1\r"
45expect { 45expect {
46 timeout {puts "TESTING ERROR 5\n";exit} 46 timeout {puts "TESTING ERROR 5\n";exit}
47 "this is not a firejail sandbox" 47 "this is not a firejail sandbox"