diff options
Diffstat (limited to 'test/firefox-x11.exp')
-rwxr-xr-x | test/firefox-x11.exp | 14 |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --name=test --x11 --net=br0 firefox www.gentoo.org\r" | 7 | send -- "firejail --name=test --x11 --net=br0 firefox -no-remote www.gentoo.org\r" |
8 | sleep 10 | 8 | sleep 10 |
9 | 9 | ||
10 | spawn $env(SHELL) | 10 | spawn $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 | } |
21 | expect { | ||
22 | timeout {puts "TESTING ERROR 3.2\n";exit} | ||
23 | "no-remote" | ||
24 | } | ||
21 | sleep 1 | 25 | sleep 1 |
22 | send -- "firejail --name=blablabla\r" | 26 | send -- "firejail --name=blablabla\r" |
23 | expect { | 27 | expect { |
@@ -34,6 +38,10 @@ expect { | |||
34 | " iceweasel" {puts "iceweasel detected\n";} | 38 | " iceweasel" {puts "iceweasel detected\n";} |
35 | } | 39 | } |
36 | expect { | 40 | expect { |
41 | timeout {puts "TESTING ERROR 5.0\n";exit} | ||
42 | "no-remote" | ||
43 | } | ||
44 | expect { | ||
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 | } |
51 | expect { | 59 | expect { |
60 | timeout {puts "TESTING ERROR 6.0\n";exit} | ||
61 | "no-remote" | ||
62 | } | ||
63 | expect { | ||
52 | timeout {puts "TESTING ERROR 6.1\n";exit} | 64 | timeout {puts "TESTING ERROR 6.1\n";exit} |
53 | "CapBnd:" | 65 | "CapBnd:" |
54 | } | 66 | } |