diff options
author | 2018-05-14 09:34:21 -0400 | |
---|---|---|
committer | 2018-05-14 09:34:21 -0400 | |
commit | 2626263c69d8b0e9628da7cbc06b635b4bf2ef06 (patch) | |
tree | 7ec6da512b60f68705b97cc614b05c43a5b1610c /test/fscheck-output.exp | |
parent | krita.profile: allow python (diff) | |
download | firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.tar.gz firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.tar.zst firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.zip |
remove unused files
Diffstat (limited to 'test/fscheck-output.exp')
-rwxr-xr-x | test/fscheck-output.exp | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/test/fscheck-output.exp b/test/fscheck-output.exp deleted file mode 100755 index 0b444d6ba..000000000 --- a/test/fscheck-output.exp +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | # dir | ||
8 | send -- "firejail --net=br0 --output=fscheck-dir\r" | ||
9 | expect { | ||
10 | timeout {puts "TESTING ERROR 0\n";exit} | ||
11 | "Error" | ||
12 | } | ||
13 | after 100 | ||
14 | |||
15 | # .. | ||
16 | send -- "firejail --net=br0 --output=../test/fscheck-dir\r" | ||
17 | expect { | ||
18 | timeout {puts "TESTING ERROR 0.1\n";exit} | ||
19 | "Error" | ||
20 | } | ||
21 | after 100 | ||
22 | |||
23 | # dir link | ||
24 | send -- "firejail --net=br0 --output=fscheck-dir-link\r" | ||
25 | expect { | ||
26 | timeout {puts "TESTING ERROR 1\n";exit} | ||
27 | "Error" | ||
28 | } | ||
29 | after 100 | ||
30 | |||
31 | # .. | ||
32 | send -- "firejail --net=br0 --output=../test/fscheck-dir-link\r" | ||
33 | expect { | ||
34 | timeout {puts "TESTING ERROR 1.1\n";exit} | ||
35 | "Error" | ||
36 | } | ||
37 | after 100 | ||
38 | |||
39 | # file link | ||
40 | send -- "firejail --net=br0 --output=fscheck-file-link\r" | ||
41 | expect { | ||
42 | timeout {puts "TESTING ERROR 2\n";exit} | ||
43 | "Error" | ||
44 | } | ||
45 | after 100 | ||
46 | |||
47 | # .. | ||
48 | send -- "firejail --net=br0 --output=../test/fscheck-file-link\r" | ||
49 | expect { | ||
50 | timeout {puts "TESTING ERROR 2.1\n";exit} | ||
51 | "Error" | ||
52 | } | ||
53 | after 100 | ||
54 | |||
55 | # hard link1 | ||
56 | send -- "firejail --net=br0 --output=fscheck-file-hard1\r" | ||
57 | expect { | ||
58 | timeout {puts "TESTING ERROR 2.2\n";exit} | ||
59 | "Error" | ||
60 | } | ||
61 | after 100 | ||
62 | |||
63 | # hard link2 | ||
64 | send -- "firejail --net=br0 --output=fscheck-file-hard2\r" | ||
65 | expect { | ||
66 | timeout {puts "TESTING ERROR 2.3\n";exit} | ||
67 | "Error" | ||
68 | } | ||
69 | after 100 | ||
70 | |||
71 | # .. | ||
72 | send -- "firejail --net=br0 --output=../test/fscheck-file-hard1\r" | ||
73 | expect { | ||
74 | timeout {puts "TESTING ERROR 2.4\n";exit} | ||
75 | "Error" | ||
76 | } | ||
77 | after 100 | ||
78 | |||
79 | # .. | ||
80 | send -- "firejail --net=br0 --output=../test/fscheck-file-hard2\r" | ||
81 | expect { | ||
82 | timeout {puts "TESTING ERROR 2.5\n";exit} | ||
83 | "Error" | ||
84 | } | ||
85 | after 100 | ||
86 | |||
87 | |||
88 | |||
89 | |||
90 | # no file | ||
91 | send -- "firejail --net=br0 --output=../test/nofile\r" | ||
92 | expect { | ||
93 | timeout {puts "TESTING ERROR 3\n";exit} | ||
94 | "Error" | ||
95 | } | ||
96 | after 100 | ||
97 | |||
98 | # real GID/UID | ||
99 | send -- "firejail --net=br0 --output=/etc/shadow\r" | ||
100 | expect { | ||
101 | timeout {puts "TESTING ERROR 4\n";exit} | ||
102 | "Error" | ||
103 | } | ||
104 | after 100 | ||