From a1272742cfbdbfe999a701f804b58ceb4605713d Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 30 Apr 2016 07:27:31 -0400 Subject: added make test-filters --- test/seccomp-su.exp | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 test/seccomp-su.exp (limited to 'test/seccomp-su.exp') diff --git a/test/seccomp-su.exp b/test/seccomp-su.exp deleted file mode 100755 index dcae6f869..000000000 --- a/test/seccomp-su.exp +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/expect -f - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -send -- "firejail --noprofile --seccomp\r" -expect { - timeout {puts "TESTING ERROR 0\n";exit} - "Child process initialized" -} -sleep 2 - -send -- "sudo su -\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - "effective uid is not 0" -} - -send -- "sudo ls\r" -expect { - timeout {puts "TESTING ERROR 2\n";exit} - "effective uid is not 0" -} - -send -- "ping google.com\r" -expect { - timeout {puts "TESTING ERROR 2\n";exit} - "Operation not permitted" -} - -send -- "exit\r" -sleep 1 -puts "all done\n" -- cgit v1.2.3-70-g09d2