From bfe63202722791b5ba088dd1ee88f49d6ef2a90d Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 4 Apr 2016 20:28:26 -0400 Subject: grsecurity: testing --- test/firefox-x11.exp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/firefox-x11.exp') diff --git a/test/firefox-x11.exp b/test/firefox-x11.exp index 8bc7fbd25..7e30437db 100755 --- a/test/firefox-x11.exp +++ b/test/firefox-x11.exp @@ -23,6 +23,13 @@ expect { "no-remote" } 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-70-g09d2