aboutsummaryrefslogtreecommitdiffstats
path: root/test/private-whitelist.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/private-whitelist.exp
parentrename generic.profile as default.profile (diff)
downloadfirejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.gz
firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.zst
firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.zip
testing
Diffstat (limited to 'test/private-whitelist.exp')
-rwxr-xr-xtest/private-whitelist.exp36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/private-whitelist.exp b/test/private-whitelist.exp
deleted file mode 100755
index 7379241ef..000000000
--- a/test/private-whitelist.exp
+++ /dev/null
@@ -1,36 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --private --whitelist=/tmp/.X11-unix\r"
8expect {
9 timeout {puts "TESTING ERROR 1\n";exit}
10 "Child process initialized"
11}
12sleep 1
13
14send -- "ls -al /tmp\r"
15expect {
16 timeout {puts "TESTING ERROR 2\n";exit}
17 ".X11-unix"
18}
19sleep 1
20
21send -- "ls -a /tmp | wc -l\r"
22expect {
23 timeout {puts "TESTING ERROR 3\n";exit}
24 "3"
25}
26sleep 1
27
28send -- "ls -a ~ | wc -l\r"
29expect {
30 timeout {puts "TESTING ERROR 4\n";exit}
31 "5"
32}
33
34sleep 1
35puts "\nall done\n"
36