From bfe63202722791b5ba088dd1ee88f49d6ef2a90d Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 4 Apr 2016 20:28:26 -0400 Subject: grsecurity: testing --- test/evince.exp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/evince.exp') diff --git a/test/evince.exp b/test/evince.exp index 0c57f3871..3c3ad4bdd 100755 --- a/test/evince.exp +++ b/test/evince.exp @@ -27,6 +27,14 @@ expect { } sleep 1 +# grsecurity exit +send -- "file /proc/sys/kernel/grsecurity\r" +expect { + timeout {puts "TESTING ERROR - grsecurity detection\n";exit} + "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} + "cannot open" {puts "grsecurity not present\n"} +} + send -- "firejail --name=blablabla\r" expect { timeout {puts "TESTING ERROR 4\n";exit} -- cgit v1.2.3-54-g00ecf