diff options
author | netblue30 <netblue30@yahoo.com> | 2015-10-11 11:24:02 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-10-11 11:24:02 -0400 |
commit | f4171a91412f89d509e6d1371fd81b4ecd89c11d (patch) | |
tree | 89882fc26af43bc4149109c029380209792698d9 /test/fscheck-shell.exp | |
parent | Merge pull request #81 from pyther/rpm (diff) | |
download | firejail-f4171a91412f89d509e6d1371fd81b4ecd89c11d.tar.gz firejail-f4171a91412f89d509e6d1371fd81b4ecd89c11d.tar.zst firejail-f4171a91412f89d509e6d1371fd81b4ecd89c11d.zip |
--private-bin
Diffstat (limited to 'test/fscheck-shell.exp')
-rwxr-xr-x | test/fscheck-shell.exp | 14 |
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 | # .. |
16 | send -- "firejail --net=br0 --shell=../test/fscheck-dir\r" | 16 | send -- "firejail --net=br0 --shell=../test/fscheck-dir\r" |
17 | expect { | 17 | expect { |
18 | timeout {puts "TESTING ERROR 0.1\n";exit} | 18 | timeout {puts "TESTING ERROR 1\n";exit} |
19 | "Error" | 19 | "Error" |
20 | } | 20 | } |
21 | after 100 | 21 | after 100 |
@@ -23,7 +23,7 @@ after 100 | |||
23 | # dir link | 23 | # dir link |
24 | send -- "firejail --net=br0 --shell=fscheck-dir-link\r" | 24 | send -- "firejail --net=br0 --shell=fscheck-dir-link\r" |
25 | expect { | 25 | expect { |
26 | timeout {puts "TESTING ERROR 1\n";exit} | 26 | timeout {puts "TESTING ERROR 2\n";exit} |
27 | "Error" | 27 | "Error" |
28 | } | 28 | } |
29 | after 100 | 29 | after 100 |
@@ -31,7 +31,7 @@ after 100 | |||
31 | # .. | 31 | # .. |
32 | send -- "firejail --net=br0 --shell=../test/fscheck-dir-link\r" | 32 | send -- "firejail --net=br0 --shell=../test/fscheck-dir-link\r" |
33 | expect { | 33 | expect { |
34 | timeout {puts "TESTING ERROR 1.1\n";exit} | 34 | timeout {puts "TESTING ERROR 3\n";exit} |
35 | "Error" | 35 | "Error" |
36 | } | 36 | } |
37 | after 100 | 37 | after 100 |
@@ -39,7 +39,7 @@ after 100 | |||
39 | # file link | 39 | # file link |
40 | send -- "firejail --net=br0 --shell=fscheck-file-link\r" | 40 | send -- "firejail --net=br0 --shell=fscheck-file-link\r" |
41 | expect { | 41 | expect { |
42 | timeout {puts "TESTING ERROR 2\n";exit} | 42 | timeout {puts "TESTING ERROR 4\n";exit} |
43 | "Error" | 43 | "Error" |
44 | } | 44 | } |
45 | after 100 | 45 | after 100 |
@@ -47,7 +47,7 @@ after 100 | |||
47 | # .. | 47 | # .. |
48 | send -- "firejail --net=br0 --shell=../test/fscheck-file-link\r" | 48 | send -- "firejail --net=br0 --shell=../test/fscheck-file-link\r" |
49 | expect { | 49 | expect { |
50 | timeout {puts "TESTING ERROR 2\n";exit} | 50 | timeout {puts "TESTING ERROR 5\n";exit} |
51 | "Error" | 51 | "Error" |
52 | } | 52 | } |
53 | after 100 | 53 | after 100 |
@@ -55,7 +55,7 @@ after 100 | |||
55 | # no file | 55 | # no file |
56 | send -- "firejail --net=br0 --shell=../test/nofile\r" | 56 | send -- "firejail --net=br0 --shell=../test/nofile\r" |
57 | expect { | 57 | expect { |
58 | timeout {puts "TESTING ERROR 3\n";exit} | 58 | timeout {puts "TESTING ERROR 6\n";exit} |
59 | "Error" | 59 | "Error" |
60 | } | 60 | } |
61 | after 100 | 61 | after 100 |
@@ -63,7 +63,7 @@ after 100 | |||
63 | # real GID/UID | 63 | # real GID/UID |
64 | send -- "firejail --net=br0 --shell=/etc/shadow\r" | 64 | send -- "firejail --net=br0 --shell=/etc/shadow\r" |
65 | expect { | 65 | expect { |
66 | timeout {puts "TESTING ERROR 4\n";exit} | 66 | timeout {puts "TESTING ERROR 7\n";exit} |
67 | "Error" | 67 | "Error" |
68 | } | 68 | } |
69 | after 100 | 69 | after 100 |