diff options
author | 2016-04-04 20:28:26 -0400 | |
---|---|---|
committer | 2016-04-04 20:28:26 -0400 | |
commit | bfe63202722791b5ba088dd1ee88f49d6ef2a90d (patch) | |
tree | 4b837d5823ed1bd33972e92db2803ed2af5d5d69 /test/firefox.exp | |
parent | grsecurity: more network fixes (diff) | |
download | firejail-bfe63202722791b5ba088dd1ee88f49d6ef2a90d.tar.gz firejail-bfe63202722791b5ba088dd1ee88f49d6ef2a90d.tar.zst firejail-bfe63202722791b5ba088dd1ee88f49d6ef2a90d.zip |
grsecurity: testing
Diffstat (limited to 'test/firefox.exp')
-rwxr-xr-x | test/firefox.exp | 10 |
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 | } |
33 | sleep 1 | 33 | sleep 1 |
34 | |||
35 | # grsecurity exit | ||
36 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
37 | expect { | ||
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 | |||
34 | send -- "firejail --name=blablabla\r" | 44 | send -- "firejail --name=blablabla\r" |
35 | expect { | 45 | expect { |
36 | timeout {puts "TESTING ERROR 4\n";exit} | 46 | timeout {puts "TESTING ERROR 4\n";exit} |