diff options
Diffstat (limited to 'test/profiles/profile_syntax2.exp')
-rwxr-xr-x | test/profiles/profile_syntax2.exp | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/test/profiles/profile_syntax2.exp b/test/profiles/profile_syntax2.exp index 4d621f3ec..da34b67e8 100755 --- a/test/profiles/profile_syntax2.exp +++ b/test/profiles/profile_syntax2.exp | |||
@@ -7,7 +7,7 @@ set timeout 10 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "firejail --debug --profile=test2.profile\r" | 10 | send -- "firejail --profile=test2.profile\r" |
11 | expect { | 11 | expect { |
12 | timeout {puts "TESTING ERROR 0\n";exit} | 12 | timeout {puts "TESTING ERROR 0\n";exit} |
13 | "Reading profile test2.profile" | 13 | "Reading profile test2.profile" |
@@ -18,29 +18,8 @@ expect { | |||
18 | } | 18 | } |
19 | expect { | 19 | expect { |
20 | timeout {puts "TESTING ERROR 2\n";exit} | 20 | timeout {puts "TESTING ERROR 2\n";exit} |
21 | "Mounting a new /home directory" | 21 | "cannot access profile file" |
22 | } | 22 | } |
23 | expect { | 23 | |
24 | timeout {puts "TESTING ERROR 3\n";exit} | ||
25 | "Disable /bin/rmdir" {puts "Most Linux platforms\n"} | ||
26 | "Disable /usr/bin/rmdir" { puts "OpenSUSE platform\n"} | ||
27 | } | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR 4\n";exit} | ||
30 | "Drop CAP_SYS_MODULE" | ||
31 | } | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 5\n";exit} | ||
34 | "seccomp entries in /run/firejail/mnt/seccomp" | ||
35 | } | ||
36 | expect { | ||
37 | timeout {puts "TESTING ERROR 7\n";exit} | ||
38 | "jeq mount" | ||
39 | } | ||
40 | expect { | ||
41 | timeout {puts "TESTING ERROR 8\n";exit} | ||
42 | "Child process initialized" | ||
43 | } | ||
44 | send -- "exit\r" | ||
45 | after 100 | 24 | after 100 |
46 | puts "\nall done\n" | 25 | puts "\nall done\n" |