aboutsummaryrefslogtreecommitdiffstats
path: root/test/extract_command.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/extract_command.exp')
-rwxr-xr-xtest/extract_command.exp16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/extract_command.exp b/test/extract_command.exp
index c49614b84..b4a1eeeb5 100755
--- a/test/extract_command.exp
+++ b/test/extract_command.exp
@@ -4,20 +4,24 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --debug /usr/bin/firefox www.gentoo.org\r" 7send -- "firejail --debug ls -al\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/firefox.profile" 10 "Reading profile /etc/firejail/generic.profile"
11} 11}
12expect { 12expect {
13 timeout {puts "TESTING ERROR 1\n";exit} 13 timeout {puts "TESTING ERROR 1\n";exit}
14 "Starting /usr/bin/firefox" 14 "Starting ls -al"
15} 15}
16expect { 16expect {
17 timeout {puts "TESTING ERROR 1\n";exit} 17 timeout {puts "TESTING ERROR 2\n";exit}
18 "Child process initialized" 18 "Child process initialized"
19} 19}
20sleep 5 20expect {
21 timeout {puts "TESTING ERROR 2\n";exit}
22 "parent is shutting down, bye"
23}
24sleep 1
21 25
22puts "\n" 26puts "\nall done\n"
23 27