diff options
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" |