diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/features/2.2.exp | 12 | ||||
-rwxr-xr-x | test/seccomp-bad-empty.exp | 6 |
2 files changed, 3 insertions, 15 deletions
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 | |||
@@ -27,10 +27,6 @@ expect { | |||
27 | "google.com" | 27 | "google.com" |
28 | } | 28 | } |
29 | expect { | 29 | expect { |
30 | timeout {puts "TESTING ERROR 1.2\n";exit} | ||
31 | "google.com" | ||
32 | } | ||
33 | expect { | ||
34 | timeout {puts "TESTING ERROR 1.3\n";exit} | 30 | timeout {puts "TESTING ERROR 1.3\n";exit} |
35 | "SERVER: 4.2.2.1" | 31 | "SERVER: 4.2.2.1" |
36 | } | 32 | } |
@@ -59,10 +55,6 @@ expect { | |||
59 | "google.com" | 55 | "google.com" |
60 | } | 56 | } |
61 | expect { | 57 | expect { |
62 | timeout {puts "TESTING ERROR 3.2\n";exit} | ||
63 | "google.com" | ||
64 | } | ||
65 | expect { | ||
66 | timeout {puts "TESTING ERROR 3.3\n";exit} | 58 | timeout {puts "TESTING ERROR 3.3\n";exit} |
67 | "SERVER: 4.2.2.1" | 59 | "SERVER: 4.2.2.1" |
68 | } | 60 | } |
@@ -90,10 +82,6 @@ expect { | |||
90 | "google.com" | 82 | "google.com" |
91 | } | 83 | } |
92 | expect { | 84 | expect { |
93 | timeout {puts "TESTING ERROR 5.2\n";exit} | ||
94 | "google.com" | ||
95 | } | ||
96 | expect { | ||
97 | timeout {puts "TESTING ERROR 5.3\n";exit} | 85 | timeout {puts "TESTING ERROR 5.3\n";exit} |
98 | "SERVER: 4.2.2.1" | 86 | "SERVER: 4.2.2.1" |
99 | } | 87 | } |
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 { | |||
25 | send -- "firejail --profile=seccomp-bad-empty.profile\r" | 25 | send -- "firejail --profile=seccomp-bad-empty.profile\r" |
26 | expect { | 26 | expect { |
27 | timeout {puts "TESTING ERROR 6\n";exit} | 27 | timeout {puts "TESTING ERROR 6\n";exit} |
28 | "Error: line 1 in the custom profile is invalid" | 28 | "Error: line 1 in seccomp-bad-empty.profile is invalid" |
29 | } | 29 | } |
30 | 30 | ||
31 | send -- "firejail --profile=seccomp-bad-empty2.profile\r" | 31 | send -- "firejail --profile=seccomp-bad-empty2.profile\r" |
32 | expect { | 32 | expect { |
33 | timeout {puts "TESTING ERROR 7\n";exit} | 33 | timeout {puts "TESTING ERROR 7\n";exit} |
34 | "Error: line 1 in the custom profile is invalid" | 34 | "Error: line 1 in seccomp-bad-empty2.profile is invalid" |
35 | } | 35 | } |
36 | sleep 1 | 36 | sleep 1 |
37 | puts "\n" | 37 | puts "\nall done\n" |
38 | 38 | ||