diff options
Diffstat (limited to 'test/firefox.exp')
-rwxr-xr-x | test/firefox.exp | 14 |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail firefox www.gentoo.org\r" | 7 | send -- "firejail firefox -no-remote www.gentoo.org\r" |
8 | expect { | 8 | expect { |
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 | } |
29 | expect { | ||
30 | timeout {puts "TESTING ERROR 3.2\n";exit} | ||
31 | "no-remote" | ||
32 | } | ||
29 | sleep 1 | 33 | sleep 1 |
30 | send -- "firejail --name=blablabla\r" | 34 | send -- "firejail --name=blablabla\r" |
31 | expect { | 35 | expect { |
@@ -42,6 +46,10 @@ expect { | |||
42 | " iceweasel" {puts "iceweasel detected\n";} | 46 | " iceweasel" {puts "iceweasel detected\n";} |
43 | } | 47 | } |
44 | expect { | 48 | expect { |
49 | timeout {puts "TESTING ERROR 5.0\n";exit} | ||
50 | "no-remote" | ||
51 | } | ||
52 | expect { | ||
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 | } |
59 | expect { | 67 | expect { |
68 | timeout {puts "TESTING ERROR 6.0\n";exit} | ||
69 | "no-remote" | ||
70 | } | ||
71 | expect { | ||
60 | timeout {puts "TESTING ERROR 6.1\n";exit} | 72 | timeout {puts "TESTING ERROR 6.1\n";exit} |
61 | "CapBnd:" | 73 | "CapBnd:" |
62 | } | 74 | } |