diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-04 20:28:26 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-04 20:28:26 -0400 |
commit | bfe63202722791b5ba088dd1ee88f49d6ef2a90d (patch) | |
tree | 4b837d5823ed1bd33972e92db2803ed2af5d5d69 /test/hexchat.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/hexchat.exp')
-rwxr-xr-x | test/hexchat.exp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/hexchat.exp b/test/hexchat.exp index 0653bcb13..7e99c8cdf 100755 --- a/test/hexchat.exp +++ b/test/hexchat.exp | |||
@@ -26,6 +26,15 @@ expect { | |||
26 | "hexchat" | 26 | "hexchat" |
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
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 | |||
29 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
30 | expect { | 39 | expect { |
31 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |