aboutsummaryrefslogtreecommitdiffstats
path: root/test/whitelist-empty.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-05-05 10:22:18 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-05-05 10:22:18 -0400
commit37a5a3545ef6d8d03dad8bbd888f53e13274c9e5 (patch)
tree5d56a4b0a0933963d97eb0a88dd00fec9ea58bf2 /test/whitelist-empty.exp
parentrename generic.profile as default.profile (diff)
downloadfirejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.gz
firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.zst
firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.zip
testing
Diffstat (limited to 'test/whitelist-empty.exp')
-rwxr-xr-xtest/whitelist-empty.exp50
1 files changed, 0 insertions, 50 deletions
diff --git a/test/whitelist-empty.exp b/test/whitelist-empty.exp
deleted file mode 100755
index 226b019db..000000000
--- a/test/whitelist-empty.exp
+++ /dev/null
@@ -1,50 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 30
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --whitelist=~/blablabla --whitelist=/tmp/blablabla --whitelist=/media/blablabla --whitelist=/var/blablabla --whitelist=/dev/blablabla --whitelist=/opt/blablabla\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized"
11}
12sleep 1
13
14send -- "ls -l ~/ | wc -l\r"
15expect {
16 timeout {puts "TESTING ERROR 1\n";exit}
17 "0"
18}
19
20send -- "ls -l /tmp | wc -l\r"
21expect {
22 timeout {puts "TESTING ERROR 2\n";exit}
23 "0"
24}
25
26send -- "ls -l /media | wc -l\r"
27expect {
28 timeout {puts "TESTING ERROR 3\n";exit}
29 "0"
30}
31
32send -- "ls -l /var | wc -l\r"
33expect {
34 timeout {puts "TESTING ERROR 4\n";exit}
35 "0"
36}
37
38send -- "ls -l /dev | wc -l\r"
39expect {
40 timeout {puts "TESTING ERROR 5\n";exit}
41 "0"
42}
43send -- "ls -l /opt | wc -l\r"
44expect {
45 timeout {puts "TESTING ERROR 6\n";exit}
46 "0"
47}
48
49
50puts "\nall done\n"