aboutsummaryrefslogtreecommitdiffstats
path: root/test/extract_command.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-10-20 11:01:40 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-10-20 11:01:40 -0400
commit45060ec40f0e9790d5e6a503486867951df71300 (patch)
tree1811814d5fbd5f4806c0a8d527806fffc137f5e5 /test/extract_command.exp
parentfixed join/shutdown problem, moving browsers and mail clients to a --shell=no... (diff)
downloadfirejail-45060ec40f0e9790d5e6a503486867951df71300.tar.gz
firejail-45060ec40f0e9790d5e6a503486867951df71300.tar.zst
firejail-45060ec40f0e9790d5e6a503486867951df71300.zip
testing and fixes
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