From c89bd3131770903c7121c271a7763b2ef1912272 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 2 Apr 2016 18:59:52 -0400 Subject: various fixes --- test/firefox-x11.exp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test/firefox-x11.exp') 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 spawn $env(SHELL) match_max 100000 -send -- "firejail --name=test --x11 --net=br0 firefox www.gentoo.org\r" +send -- "firejail --name=test --x11 --net=br0 firefox -no-remote www.gentoo.org\r" sleep 10 spawn $env(SHELL) @@ -18,6 +18,10 @@ expect { "firefox" {puts "firefox detected\n";} "iceweasel" {puts "iceweasel detected\n";} } +expect { + timeout {puts "TESTING ERROR 3.2\n";exit} + "no-remote" +} sleep 1 send -- "firejail --name=blablabla\r" expect { @@ -33,6 +37,10 @@ expect { " firefox" {puts "firefox detected\n";} " iceweasel" {puts "iceweasel detected\n";} } +expect { + timeout {puts "TESTING ERROR 5.0\n";exit} + "no-remote" +} expect { timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} "Seccomp: 2" @@ -48,6 +56,10 @@ expect { " firefox" {puts "firefox detected\n";} " iceweasel" {puts "iceweasel detected\n";} } +expect { + timeout {puts "TESTING ERROR 6.0\n";exit} + "no-remote" +} expect { timeout {puts "TESTING ERROR 6.1\n";exit} "CapBnd:" -- cgit v1.2.3-70-g09d2