aboutsummaryrefslogtreecommitdiffstats
path: root/test/firefox.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/firefox.exp')
-rwxr-xr-xtest/firefox.exp14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/firefox.exp b/test/firefox.exp
index c2e64e04f..d531cf977 100755
--- a/test/firefox.exp
+++ b/test/firefox.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail firefox www.gentoo.org\r" 7send -- "firejail firefox -no-remote www.gentoo.org\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/firefox.profile"
@@ -26,6 +26,10 @@ expect {
26 "firefox" {puts "firefox detected\n";} 26 "firefox" {puts "firefox detected\n";}
27 "iceweasel" {puts "iceweasel detected\n";} 27 "iceweasel" {puts "iceweasel detected\n";}
28} 28}
29expect {
30 timeout {puts "TESTING ERROR 3.2\n";exit}
31 "no-remote"
32}
29sleep 1 33sleep 1
30send -- "firejail --name=blablabla\r" 34send -- "firejail --name=blablabla\r"
31expect { 35expect {
@@ -42,6 +46,10 @@ expect {
42 " iceweasel" {puts "iceweasel detected\n";} 46 " iceweasel" {puts "iceweasel detected\n";}
43} 47}
44expect { 48expect {
49 timeout {puts "TESTING ERROR 5.0\n";exit}
50 "no-remote"
51}
52expect {
45 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 53 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
46 "Seccomp: 2" 54 "Seccomp: 2"
47} 55}
@@ -57,6 +65,10 @@ expect {
57 " iceweasel" {puts "iceweasel detected\n";} 65 " iceweasel" {puts "iceweasel detected\n";}
58} 66}
59expect { 67expect {
68 timeout {puts "TESTING ERROR 6.0\n";exit}
69 "no-remote"
70}
71expect {
60 timeout {puts "TESTING ERROR 6.1\n";exit} 72 timeout {puts "TESTING ERROR 6.1\n";exit}
61 "CapBnd:" 73 "CapBnd:"
62} 74}