aboutsummaryrefslogtreecommitdiffstats
path: root/test/fscheck-private.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fscheck-private.exp')
-rwxr-xr-xtest/fscheck-private.exp39
1 files changed, 16 insertions, 23 deletions
diff --git a/test/fscheck-private.exp b/test/fscheck-private.exp
index 4c791423d..8e485cc03 100755
--- a/test/fscheck-private.exp
+++ b/test/fscheck-private.exp
@@ -4,37 +4,30 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7# dir 7
8#send -- "firejail --net=br0 --private=fscheck-dir\r" 8# ..
9#send -- "firejail --net=br0 --private=../test/fscheck-dir\r"
9#expect { 10#expect {
10# timeout {puts "TESTING ERROR 0\n";exit} 11# timeout {puts "TESTING ERROR 0.1\n";exit}
11# "Error" 12# "Error"
12#} 13#}
13#after 100 14#after 100
14 15
15# ..
16send -- "firejail --net=br0 --private=../test/fscheck-dir\r"
17expect {
18 timeout {puts "TESTING ERROR 0.1\n";exit}
19 "Error"
20}
21after 100
22
23# dir link 16# dir link
24send -- "firejail --net=br0 --private=fscheck-dir-link\r" 17#send -- "firejail --net=br0 --private=fscheck-dir-link\r"
25expect { 18#expect {
26 timeout {puts "TESTING ERROR 1\n";exit} 19# timeout {puts "TESTING ERROR 1\n";exit}
27 "Error" 20# "Error"
28} 21#}
29after 100 22#after 100
30 23
31# .. 24# ..
32send -- "firejail --net=br0 --private=../test/fscheck-dir-link\r" 25#send -- "firejail --net=br0 --private=../test/fscheck-dir-link\r"
33expect { 26#expect {
34 timeout {puts "TESTING ERROR 1.1\n";exit} 27# timeout {puts "TESTING ERROR 1.1\n";exit}
35 "Error" 28# "Error"
36} 29#}
37after 100 30#after 100
38 31
39# file link 32# file link
40send -- "firejail --net=br0 --private=fscheck-file-link\r" 33send -- "firejail --net=br0 --private=fscheck-file-link\r"