aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/allow-debuggers.exp
diff options
context:
space:
mode:
authorLibravatar vis <vis@mailbox.org>2016-11-03 15:06:57 +0100
committerLibravatar vis <vis@mailbox.org>2016-11-03 15:06:57 +0100
commit2aafd9bd3a96b578bf423eb8faba0efe965c52d5 (patch)
tree6ab4d26a6daad1e3972a86dbdcbe67030d710883 /test/environment/allow-debuggers.exp
parentImprovements for Zathura profile (diff)
parentremoved warning if --quiet is enabled (diff)
downloadfirejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.tar.gz
firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.tar.zst
firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'test/environment/allow-debuggers.exp')
-rwxr-xr-xtest/environment/allow-debuggers.exp18
1 files changed, 13 insertions, 5 deletions
diff --git a/test/environment/allow-debuggers.exp b/test/environment/allow-debuggers.exp
index dde9c4cc1..8a404decb 100755
--- a/test/environment/allow-debuggers.exp
+++ b/test/environment/allow-debuggers.exp
@@ -11,19 +11,27 @@ expect {
11 "Child process initialized" 11 "Child process initialized"
12} 12}
13expect { 13expect {
14 timeout {puts "TESTING ERROR 1\n";exit} 14 timeout {puts "TESTING ERROR 1\n";exit}
15 "exited with 0" 15 "ioctl"
16}
17expect {
18 timeout {puts "TESTING ERROR 2\n";exit}
19 "exit_group"
16} 20}
17after 100 21after 100
18 22
19send -- "firejail --allow-debuggers --profile=/etc/firejail/firefox.profile strace ls\r" 23send -- "firejail --allow-debuggers --profile=/etc/firejail/firefox.profile strace ls\r"
20expect { 24expect {
21 timeout {puts "TESTING ERROR 2\n";exit} 25 timeout {puts "TESTING ERROR 3\n";exit}
22 "Child process initialized" 26 "Child process initialized"
23} 27}
24expect { 28expect {
25 timeout {puts "TESTING ERROR 3\n";exit} 29 timeout {puts "TESTING ERROR 4\n";exit}
26 "exited with 0" 30 "ioctl"
31}
32expect {
33 timeout {puts "TESTING ERROR 5\n";exit}
34 "exit_group"
27} 35}
28after 100 36after 100
29 37