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/deluge.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/deluge.exp')
-rwxr-xr-x | test/deluge.exp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/deluge.exp b/test/deluge.exp index 49266813e..9f5063495 100755 --- a/test/deluge.exp +++ b/test/deluge.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} |