aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/deterministic-shutdown.exp
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2022-01-23 12:42:58 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2022-01-23 13:01:40 +0100
commit9672e30b24242ca67c11b8af9e78a0a8e7f99a3b (patch)
treeb079c5cfd90193b53173a71f2f414d2457da69c2 /test/environment/deterministic-shutdown.exp
parentbuild option: remove deprecated strace feature from manual (diff)
downloadfirejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.tar.gz
firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.tar.zst
firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.zip
testing
Diffstat (limited to 'test/environment/deterministic-shutdown.exp')
-rwxr-xr-xtest/environment/deterministic-shutdown.exp5
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
6set timeout 5 6set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail --deterministic-shutdown bash -c \"sleep 10 & exec sleep 1\"\r" 10send -- "firejail --deterministic-shutdown bash -c \"sleep 100 & exec sleep 1\"\r"
11expect { 11expect {
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}
15after 100
15 16
16puts "\nall done\n" 17puts "\nall done\n"