diff options
author | 2022-01-23 12:42:58 +0100 | |
---|---|---|
committer | 2022-01-23 13:01:40 +0100 | |
commit | 9672e30b24242ca67c11b8af9e78a0a8e7f99a3b (patch) | |
tree | b079c5cfd90193b53173a71f2f414d2457da69c2 /test/environment/deterministic-shutdown.exp | |
parent | build option: remove deprecated strace feature from manual (diff) | |
download | firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.tar.gz firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.tar.zst firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.zip |
testing
Diffstat (limited to 'test/environment/deterministic-shutdown.exp')
-rwxr-xr-x | test/environment/deterministic-shutdown.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/environment/deterministic-shutdown.exp b/test/environment/deterministic-shutdown.exp index dbbe226bb..be4e9c42e 100755 --- a/test/environment/deterministic-shutdown.exp +++ b/test/environment/deterministic-shutdown.exp | |||
@@ -3,14 +3,15 @@ | |||
3 | # Copyright (C) 2014-2022 Firejail Authors | 3 | # Copyright (C) 2014-2022 Firejail Authors |
4 | # License GPL v2 | 4 | # License GPL v2 |
5 | 5 | ||
6 | set timeout 5 | 6 | set timeout 10 |
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "firejail --deterministic-shutdown bash -c \"sleep 10 & exec sleep 1\"\r" | 10 | send -- "firejail --deterministic-shutdown bash -c \"sleep 100 & exec sleep 1\"\r" |
11 | expect { | 11 | expect { |
12 | timeout {puts "TESTING ERROR 0\n";exit} | 12 | timeout {puts "TESTING ERROR 0\n";exit} |
13 | "Parent is shutting down, bye..." | 13 | "Parent is shutting down, bye..." |
14 | } | 14 | } |
15 | after 100 | ||
15 | 16 | ||
16 | puts "\nall done\n" | 17 | puts "\nall done\n" |