aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/allow-debuggers.exp
diff options
context:
space:
mode:
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