aboutsummaryrefslogtreecommitdiffstats
path: root/test/firefox.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-04 20:28:26 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-04 20:28:26 -0400
commitbfe63202722791b5ba088dd1ee88f49d6ef2a90d (patch)
tree4b837d5823ed1bd33972e92db2803ed2af5d5d69 /test/firefox.exp
parentgrsecurity: more network fixes (diff)
downloadfirejail-bfe63202722791b5ba088dd1ee88f49d6ef2a90d.tar.gz
firejail-bfe63202722791b5ba088dd1ee88f49d6ef2a90d.tar.zst
firejail-bfe63202722791b5ba088dd1ee88f49d6ef2a90d.zip
grsecurity: testing
Diffstat (limited to 'test/firefox.exp')
-rwxr-xr-xtest/firefox.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/firefox.exp b/test/firefox.exp
index d531cf977..2585e4b5c 100755
--- a/test/firefox.exp
+++ b/test/firefox.exp
@@ -31,6 +31,16 @@ expect {
31 "no-remote" 31 "no-remote"
32} 32}
33sleep 1 33sleep 1
34
35# grsecurity exit
36send -- "file /proc/sys/kernel/grsecurity\r"
37expect {
38 timeout {puts "TESTING ERROR - grsecurity detection\n";exit}
39 "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit}
40 "cannot open" {puts "grsecurity not present\n"}
41}
42
43
34send -- "firejail --name=blablabla\r" 44send -- "firejail --name=blablabla\r"
35expect { 45expect {
36 timeout {puts "TESTING ERROR 4\n";exit} 46 timeout {puts "TESTING ERROR 4\n";exit}