From 0bc571120af013407e448d9935e8be5189bc2765 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 24 May 2016 11:12:03 -0400 Subject: 0.9.40 testing --- test/filters/seccomp-su.exp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/filters/seccomp-su.exp') diff --git a/test/filters/seccomp-su.exp b/test/filters/seccomp-su.exp index 003f3df99..e2ab050bf 100755 --- a/test/filters/seccomp-su.exp +++ b/test/filters/seccomp-su.exp @@ -17,13 +17,15 @@ sleep 2 send -- "sudo su -\r" expect { timeout {puts "TESTING ERROR 1\n";exit} - "effective uid is not 0" + "effective uid is not 0" {puts "OK\n"} + "Bad system call" {puts "OK\n"} } send -- "sudo ls\r" expect { timeout {puts "TESTING ERROR 2\n";exit} - "effective uid is not 0" + "effective uid is not 0" {puts "OK\n"} + "Bad system call" {puts "OK\n"} } send -- "ping google.com\r" -- cgit v1.2.3-54-g00ecf