summaryrefslogtreecommitdiffstats
path: root/test/fscheck-shell.exp
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@yandex.com>2018-05-14 09:34:21 -0400
committerLibravatar startx2017 <vradu.startx@yandex.com>2018-05-14 09:34:21 -0400
commit2626263c69d8b0e9628da7cbc06b635b4bf2ef06 (patch)
tree7ec6da512b60f68705b97cc614b05c43a5b1610c /test/fscheck-shell.exp
parentkrita.profile: allow python (diff)
downloadfirejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.tar.gz
firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.tar.zst
firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.zip
remove unused files
Diffstat (limited to 'test/fscheck-shell.exp')
-rwxr-xr-xtest/fscheck-shell.exp69
1 files changed, 0 insertions, 69 deletions
diff --git a/test/fscheck-shell.exp b/test/fscheck-shell.exp
deleted file mode 100755
index 6a3b5829c..000000000
--- a/test/fscheck-shell.exp
+++ /dev/null
@@ -1,69 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7# dir
8send -- "firejail --net=br0 --shell=fscheck-dir\r"
9expect {
10 timeout {puts "TESTING ERROR 0\n";exit}
11 "Error"
12}
13after 100
14
15# ..
16send -- "firejail --net=br0 --shell=../test/fscheck-dir\r"
17expect {
18 timeout {puts "TESTING ERROR 1\n";exit}
19 "Error"
20}
21after 100
22
23# dir link
24send -- "firejail --net=br0 --shell=fscheck-dir-link\r"
25expect {
26 timeout {puts "TESTING ERROR 2\n";exit}
27 "Error"
28}
29after 100
30
31# ..
32send -- "firejail --net=br0 --shell=../test/fscheck-dir-link\r"
33expect {
34 timeout {puts "TESTING ERROR 3\n";exit}
35 "Error"
36}
37after 100
38
39# file link
40#send -- "firejail --net=br0 --shell=fscheck-file-link\r"
41#expect {
42# timeout {puts "TESTING ERROR 4\n";exit}
43# "Error"
44#}
45#after 100
46
47# ..
48send -- "firejail --net=br0 --shell=../test/fscheck-file-link\r"
49expect {
50 timeout {puts "TESTING ERROR 5\n";exit}
51 "Error"
52}
53after 100
54
55# no file
56send -- "firejail --net=br0 --shell=../test/nofile\r"
57expect {
58 timeout {puts "TESTING ERROR 6\n";exit}
59 "Error"
60}
61after 100
62
63# real GID/UID
64send -- "firejail --net=br0 --shell=/etc/shadow\r"
65expect {
66 timeout {puts "TESTING ERROR 7\n";exit}
67 "Error"
68}
69after 100