aboutsummaryrefslogtreecommitdiffstats
path: root/test/firefox-x11.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-02 18:59:52 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-02 18:59:52 -0400
commitc89bd3131770903c7121c271a7763b2ef1912272 (patch)
treeb16afecd0a83554026d4a50355106fe12844b244 /test/firefox-x11.exp
parentMerge pull request #406 from avoidr/cmus.profile (diff)
downloadfirejail-c89bd3131770903c7121c271a7763b2ef1912272.tar.gz
firejail-c89bd3131770903c7121c271a7763b2ef1912272.tar.zst
firejail-c89bd3131770903c7121c271a7763b2ef1912272.zip
various fixes
Diffstat (limited to 'test/firefox-x11.exp')
-rwxr-xr-xtest/firefox-x11.exp14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/firefox-x11.exp b/test/firefox-x11.exp
index c82408896..8bc7fbd25 100755
--- a/test/firefox-x11.exp
+++ b/test/firefox-x11.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --name=test --x11 --net=br0 firefox www.gentoo.org\r" 7send -- "firejail --name=test --x11 --net=br0 firefox -no-remote www.gentoo.org\r"
8sleep 10 8sleep 10
9 9
10spawn $env(SHELL) 10spawn $env(SHELL)
@@ -18,6 +18,10 @@ expect {
18 "firefox" {puts "firefox detected\n";} 18 "firefox" {puts "firefox detected\n";}
19 "iceweasel" {puts "iceweasel detected\n";} 19 "iceweasel" {puts "iceweasel detected\n";}
20} 20}
21expect {
22 timeout {puts "TESTING ERROR 3.2\n";exit}
23 "no-remote"
24}
21sleep 1 25sleep 1
22send -- "firejail --name=blablabla\r" 26send -- "firejail --name=blablabla\r"
23expect { 27expect {
@@ -34,6 +38,10 @@ expect {
34 " iceweasel" {puts "iceweasel detected\n";} 38 " iceweasel" {puts "iceweasel detected\n";}
35} 39}
36expect { 40expect {
41 timeout {puts "TESTING ERROR 5.0\n";exit}
42 "no-remote"
43}
44expect {
37 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 45 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
38 "Seccomp: 2" 46 "Seccomp: 2"
39} 47}
@@ -49,6 +57,10 @@ expect {
49 " iceweasel" {puts "iceweasel detected\n";} 57 " iceweasel" {puts "iceweasel detected\n";}
50} 58}
51expect { 59expect {
60 timeout {puts "TESTING ERROR 6.0\n";exit}
61 "no-remote"
62}
63expect {
52 timeout {puts "TESTING ERROR 6.1\n";exit} 64 timeout {puts "TESTING ERROR 6.1\n";exit}
53 "CapBnd:" 65 "CapBnd:"
54} 66}