diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-21 14:37:53 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-21 14:37:53 -0400 |
commit | ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1 (patch) | |
tree | 0a923afb486b1f13ab35d26138cdbf51e0961aec /test/profile_syntax2.exp | |
parent | --read-write option (diff) | |
download | firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.gz firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.zst firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.zip |
make test-profiles
Diffstat (limited to 'test/profile_syntax2.exp')
-rwxr-xr-x | test/profile_syntax2.exp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/test/profile_syntax2.exp b/test/profile_syntax2.exp deleted file mode 100755 index 96e85ba93..000000000 --- a/test/profile_syntax2.exp +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --debug --profile=test2.profile\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Reading profile test2.profile" | ||
11 | } | ||
12 | expect { | ||
13 | timeout {puts "TESTING ERROR 1\n";exit} | ||
14 | "Reading profile test.profile" | ||
15 | } | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 2\n";exit} | ||
18 | "Mounting a new /home directory" | ||
19 | } | ||
20 | expect { | ||
21 | timeout {puts "TESTING ERROR 3\n";exit} | ||
22 | "Disable /bin/rmdir" {puts "Most Linux platforms\n"} | ||
23 | "Disable /usr/bin/rmdir" { puts "OpenSUSE platform\n"} | ||
24 | } | ||
25 | expect { | ||
26 | timeout {puts "TESTING ERROR 4\n";exit} | ||
27 | "Drop CAP_SYS_MODULE" | ||
28 | } | ||
29 | expect { | ||
30 | timeout {puts "TESTING ERROR 5\n";exit} | ||
31 | "SECCOMP Filter" | ||
32 | } | ||
33 | expect { | ||
34 | timeout {puts "TESTING ERROR 6\n";exit} | ||
35 | "BLACKLIST" | ||
36 | } | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR 7\n";exit} | ||
39 | "mount" | ||
40 | } | ||
41 | expect { | ||
42 | timeout {puts "TESTING ERROR 8\n";exit} | ||
43 | "Child process initialized" | ||
44 | } | ||
45 | |||
46 | sleep 1 | ||
47 | puts "\nall done\n" | ||