diff options
Diffstat (limited to 'test/firefox-x11.exp')
-rwxr-xr-x | test/firefox-x11.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/firefox-x11.exp b/test/firefox-x11.exp index 8bc7fbd25..7e30437db 100755 --- a/test/firefox-x11.exp +++ b/test/firefox-x11.exp | |||
@@ -23,6 +23,13 @@ expect { | |||
23 | "no-remote" | 23 | "no-remote" |
24 | } | 24 | } |
25 | sleep 1 | 25 | sleep 1 |
26 | # grsecurity exit | ||
27 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
30 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
31 | "cannot open" {puts "grsecurity not present\n"} | ||
32 | } | ||
26 | send -- "firejail --name=blablabla\r" | 33 | send -- "firejail --name=blablabla\r" |
27 | expect { | 34 | expect { |
28 | timeout {puts "TESTING ERROR 4\n";exit} | 35 | timeout {puts "TESTING ERROR 4\n";exit} |