aboutsummaryrefslogtreecommitdiffstats
path: root/test/fscheck-shell.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-10-11 11:24:02 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-10-11 11:24:02 -0400
commitf4171a91412f89d509e6d1371fd81b4ecd89c11d (patch)
tree89882fc26af43bc4149109c029380209792698d9 /test/fscheck-shell.exp
parentMerge pull request #81 from pyther/rpm (diff)
downloadfirejail-f4171a91412f89d509e6d1371fd81b4ecd89c11d.tar.gz
firejail-f4171a91412f89d509e6d1371fd81b4ecd89c11d.tar.zst
firejail-f4171a91412f89d509e6d1371fd81b4ecd89c11d.zip
--private-bin
Diffstat (limited to 'test/fscheck-shell.exp')
-rwxr-xr-xtest/fscheck-shell.exp14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/fscheck-shell.exp b/test/fscheck-shell.exp
index d2320a4c3..548955e60 100755
--- a/test/fscheck-shell.exp
+++ b/test/fscheck-shell.exp
@@ -15,7 +15,7 @@ after 100
15# .. 15# ..
16send -- "firejail --net=br0 --shell=../test/fscheck-dir\r" 16send -- "firejail --net=br0 --shell=../test/fscheck-dir\r"
17expect { 17expect {
18 timeout {puts "TESTING ERROR 0.1\n";exit} 18 timeout {puts "TESTING ERROR 1\n";exit}
19 "Error" 19 "Error"
20} 20}
21after 100 21after 100
@@ -23,7 +23,7 @@ after 100
23# dir link 23# dir link
24send -- "firejail --net=br0 --shell=fscheck-dir-link\r" 24send -- "firejail --net=br0 --shell=fscheck-dir-link\r"
25expect { 25expect {
26 timeout {puts "TESTING ERROR 1\n";exit} 26 timeout {puts "TESTING ERROR 2\n";exit}
27 "Error" 27 "Error"
28} 28}
29after 100 29after 100
@@ -31,7 +31,7 @@ after 100
31# .. 31# ..
32send -- "firejail --net=br0 --shell=../test/fscheck-dir-link\r" 32send -- "firejail --net=br0 --shell=../test/fscheck-dir-link\r"
33expect { 33expect {
34 timeout {puts "TESTING ERROR 1.1\n";exit} 34 timeout {puts "TESTING ERROR 3\n";exit}
35 "Error" 35 "Error"
36} 36}
37after 100 37after 100
@@ -39,7 +39,7 @@ after 100
39# file link 39# file link
40send -- "firejail --net=br0 --shell=fscheck-file-link\r" 40send -- "firejail --net=br0 --shell=fscheck-file-link\r"
41expect { 41expect {
42 timeout {puts "TESTING ERROR 2\n";exit} 42 timeout {puts "TESTING ERROR 4\n";exit}
43 "Error" 43 "Error"
44} 44}
45after 100 45after 100
@@ -47,7 +47,7 @@ after 100
47# .. 47# ..
48send -- "firejail --net=br0 --shell=../test/fscheck-file-link\r" 48send -- "firejail --net=br0 --shell=../test/fscheck-file-link\r"
49expect { 49expect {
50 timeout {puts "TESTING ERROR 2\n";exit} 50 timeout {puts "TESTING ERROR 5\n";exit}
51 "Error" 51 "Error"
52} 52}
53after 100 53after 100
@@ -55,7 +55,7 @@ after 100
55# no file 55# no file
56send -- "firejail --net=br0 --shell=../test/nofile\r" 56send -- "firejail --net=br0 --shell=../test/nofile\r"
57expect { 57expect {
58 timeout {puts "TESTING ERROR 3\n";exit} 58 timeout {puts "TESTING ERROR 6\n";exit}
59 "Error" 59 "Error"
60} 60}
61after 100 61after 100
@@ -63,7 +63,7 @@ after 100
63# real GID/UID 63# real GID/UID
64send -- "firejail --net=br0 --shell=/etc/shadow\r" 64send -- "firejail --net=br0 --shell=/etc/shadow\r"
65expect { 65expect {
66 timeout {puts "TESTING ERROR 4\n";exit} 66 timeout {puts "TESTING ERROR 7\n";exit}
67 "Error" 67 "Error"
68} 68}
69after 100 69after 100