From 8706d0591301cffd3965695107c767dae54cceb3 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 28 Dec 2017 15:36:40 -0500 Subject: testing --- test/filters/fseccomp.exp | 52 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'test/filters/fseccomp.exp') diff --git a/test/filters/fseccomp.exp b/test/filters/fseccomp.exp index a71c35302..15959ff26 100755 --- a/test/filters/fseccomp.exp +++ b/test/filters/fseccomp.exp @@ -31,104 +31,104 @@ expect { after 100 send -- "fseccomp protocol build unix,inet seccomp-test-file\r" after 100 -send -- "fseccomp print seccomp-test-file\r" +send -- "fsec-print seccomp-test-file\r" expect { timeout {puts "TESTING ERROR 4.1\n";exit} - "WHITELIST 41 socket" + "jeq socket" } after 100 send -- "fseccomp secondary 64 seccomp-test-file\r" after 100 -send -- "fseccomp print seccomp-test-file\r" +send -- "fsec-print seccomp-test-file\r" expect { timeout {puts "TESTING ERROR 5.1\n";exit} - "BLACKLIST 165 mount" + "jeq mount" } expect { timeout {puts "TESTING ERROR 5.2\n";exit} - "BLACKLIST 166 umount2" + "jeq umount2" } expect { timeout {puts "TESTING ERROR 5.3\n";exit} - "RETURN_ALLOW" + "ret ALLOW" } after 100 send -- "fseccomp default seccomp-test-file\r" after 100 -send -- "fseccomp print seccomp-test-file\r" +send -- "fsec-print seccomp-test-file\r" expect { timeout {puts "TESTING ERROR 6.1\n";exit} - "BLACKLIST 165 mount" + "jeq mount" } expect { timeout {puts "TESTING ERROR 6.2\n";exit} - "BLACKLIST 166 umount2" + "jeq umount2" } expect { timeout {puts "TESTING ERROR 6.3\n";exit} - "RETURN_ALLOW" + "ret ALLOW" } after 100 send -- "fseccomp drop seccomp-test-file tmpfile chmod,chown\r" after 100 -send -- "fseccomp print seccomp-test-file\r" +send -- "fsec-print seccomp-test-file\r" expect { timeout {puts "TESTING ERROR 7.1\n";exit} - "BLACKLIST 165 mount" {puts "TESTING ERROR 7.2\n";exit} - "BLACKLIST 166 umount2" {puts "TESTING ERROR 7.3\n";exit} - "BLACKLIST 90 chmod" + "jeq mount" {puts "TESTING ERROR 7.2\n";exit} + "jeq umount2" {puts "TESTING ERROR 7.3\n";exit} + "jeq chmod" } expect { timeout {puts "TESTING ERROR 7.4\n";exit} - "BLACKLIST 92 chown" + "jeq chown" } expect { timeout {puts "TESTING ERROR 7.5\n";exit} - "RETURN_ALLOW" + "ret ALLOW" } after 100 send -- "fseccomp default drop seccomp-test-file tmpfile chmod,chown\r" after 100 -send -- "fseccomp print seccomp-test-file\r" +send -- "fsec-print seccomp-test-file\r" expect { timeout {puts "TESTING ERROR 8.1\n";exit} - "BLACKLIST 165 mount" + "jeq mount" } expect { timeout {puts "TESTING ERROR 8.2\n";exit} - "BLACKLIST 166 umount2" + "jeq umount2" } expect { timeout {puts "TESTING ERROR 8.3\n";exit} - "BLACKLIST 90 chmod" + "jeq chmod" } expect { timeout {puts "TESTING ERROR 8.4\n";exit} - "BLACKLIST 92 chown" + "jeq chown" } expect { timeout {puts "TESTING ERROR 8.5\n";exit} - "RETURN_ALLOW" + "ret ALLOW" } after 100 send -- "fseccomp keep seccomp-test-file tmpfile chmod,chown\r" after 100 -send -- "fseccomp print seccomp-test-file\r" +send -- "fsec-print seccomp-test-file\r" expect { timeout {puts "TESTING ERROR 9.1\n";exit} - "WHITELIST 90 chmod" + "jeq chmod" } expect { timeout {puts "TESTING ERROR 9.2\n";exit} - "WHITELIST 92 chown" + "jeq chown" } expect { timeout {puts "TESTING ERROR 9.3\n";exit} - "KILL_PROCESS" + "ret KILL" } -- cgit v1.2.3-70-g09d2