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.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.exp')
-rwxr-xr-x | test/chromium.exp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/chromium.exp b/test/chromium.exp index 77325d070..676f7e314 100755 --- a/test/chromium.exp +++ b/test/chromium.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |