diff options
author | 2016-04-04 20:28:26 -0400 | |
---|---|---|
committer | 2016-04-04 20:28:26 -0400 | |
commit | bfe63202722791b5ba088dd1ee88f49d6ef2a90d (patch) | |
tree | 4b837d5823ed1bd33972e92db2803ed2af5d5d69 /test/chromium-x11.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/chromium-x11.exp')
-rwxr-xr-x | test/chromium-x11.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/chromium-x11.exp b/test/chromium-x11.exp index 0d8a5dfb3..bcac3233c 100755 --- a/test/chromium-x11.exp +++ b/test/chromium-x11.exp | |||
@@ -19,6 +19,13 @@ expect { | |||
19 | } | 19 | } |
20 | sleep 1 | 20 | sleep 1 |
21 | 21 | ||
22 | # grsecurity exit | ||
23 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
24 | expect { | ||
25 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
26 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
27 | "cannot open" {puts "grsecurity not present\n"} | ||
28 | } | ||
22 | send -- "firejail --name=blablabla\r" | 29 | send -- "firejail --name=blablabla\r" |
23 | expect { | 30 | expect { |
24 | timeout {puts "TESTING ERROR 4\n";exit} | 31 | timeout {puts "TESTING ERROR 4\n";exit} |