aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile_syntax2.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-21 14:37:53 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-21 14:37:53 -0400
commitad2f7bc496e3cc83bca2381515312dd2ef6fc7f1 (patch)
tree0a923afb486b1f13ab35d26138cdbf51e0961aec /test/profile_syntax2.exp
parent--read-write option (diff)
downloadfirejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.gz
firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.zst
firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.zip
make test-profiles
Diffstat (limited to 'test/profile_syntax2.exp')
-rwxr-xr-xtest/profile_syntax2.exp47
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
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --debug --profile=test2.profile\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile test2.profile"
11}
12expect {
13 timeout {puts "TESTING ERROR 1\n";exit}
14 "Reading profile test.profile"
15}
16expect {
17 timeout {puts "TESTING ERROR 2\n";exit}
18 "Mounting a new /home directory"
19}
20expect {
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}
25expect {
26 timeout {puts "TESTING ERROR 4\n";exit}
27 "Drop CAP_SYS_MODULE"
28}
29expect {
30 timeout {puts "TESTING ERROR 5\n";exit}
31 "SECCOMP Filter"
32}
33expect {
34 timeout {puts "TESTING ERROR 6\n";exit}
35 "BLACKLIST"
36}
37expect {
38 timeout {puts "TESTING ERROR 7\n";exit}
39 "mount"
40}
41expect {
42 timeout {puts "TESTING ERROR 8\n";exit}
43 "Child process initialized"
44}
45
46sleep 1
47puts "\nall done\n"