diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2020-01-02 13:42:38 +0100 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2020-01-02 13:42:38 +0100 |
commit | 28eab84f13c3d1596e15715f5b17c11e873ab027 (patch) | |
tree | e33ba509918300ea0d70923a099b11f1c0c2f453 /test | |
parent | tests: wait until sandbox is shutdown before running next command (diff) | |
download | firejail-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-x | test/utils/shutdown.exp | 2 |
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 | } |
42 | after 100 | 42 | after 100 |
43 | 43 | ||
44 | send -- "firejail --shutdown=10\r" | 44 | send -- "firejail --shutdown=1\r" |
45 | expect { | 45 | expect { |
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" |