From 24d38a4a23dc0beb66fe03dd042aefae47b03d50 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 17 Dec 2015 10:31:39 -0500 Subject: add support for sandbox name in profile files --- test/features/2.2.exp | 12 ------------ test/seccomp-bad-empty.exp | 6 +++--- 2 files changed, 3 insertions(+), 15 deletions(-) (limited to 'test') diff --git a/test/features/2.2.exp b/test/features/2.2.exp index 7dc1e6a7d..c562328fd 100755 --- a/test/features/2.2.exp +++ b/test/features/2.2.exp @@ -26,10 +26,6 @@ expect { timeout {puts "TESTING ERROR 1.1\n";exit} "google.com" } -expect { - timeout {puts "TESTING ERROR 1.2\n";exit} - "google.com" -} expect { timeout {puts "TESTING ERROR 1.3\n";exit} "SERVER: 4.2.2.1" @@ -58,10 +54,6 @@ expect { timeout {puts "TESTING ERROR 3.1\n";exit} "google.com" } -expect { - timeout {puts "TESTING ERROR 3.2\n";exit} - "google.com" -} expect { timeout {puts "TESTING ERROR 3.3\n";exit} "SERVER: 4.2.2.1" @@ -89,10 +81,6 @@ expect { timeout {puts "TESTING ERROR 5.1\n";exit} "google.com" } -expect { - timeout {puts "TESTING ERROR 5.2\n";exit} - "google.com" -} expect { timeout {puts "TESTING ERROR 5.3\n";exit} "SERVER: 4.2.2.1" diff --git a/test/seccomp-bad-empty.exp b/test/seccomp-bad-empty.exp index 53b5c2e21..631d67743 100755 --- a/test/seccomp-bad-empty.exp +++ b/test/seccomp-bad-empty.exp @@ -25,14 +25,14 @@ expect { send -- "firejail --profile=seccomp-bad-empty.profile\r" expect { timeout {puts "TESTING ERROR 6\n";exit} - "Error: line 1 in the custom profile is invalid" + "Error: line 1 in seccomp-bad-empty.profile is invalid" } send -- "firejail --profile=seccomp-bad-empty2.profile\r" expect { timeout {puts "TESTING ERROR 7\n";exit} - "Error: line 1 in the custom profile is invalid" + "Error: line 1 in seccomp-bad-empty2.profile is invalid" } sleep 1 -puts "\n" +puts "\nall done\n" -- cgit v1.2.3-54-g00ecf