aboutsummaryrefslogtreecommitdiffstats
path: root/test/fscheck-privatekeep.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-11-12 09:25:47 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-11-12 09:25:47 -0500
commit85f5e7c7269eff04e1d48c9a3bd155404f8dfb6a (patch)
tree8ad69f8fbc7c5978985559ded16bc898e924e60a /test/fscheck-privatekeep.exp
parentfixes (diff)
downloadfirejail-85f5e7c7269eff04e1d48c9a3bd155404f8dfb6a.tar.gz
firejail-85f5e7c7269eff04e1d48c9a3bd155404f8dfb6a.tar.zst
firejail-85f5e7c7269eff04e1d48c9a3bd155404f8dfb6a.zip
removed private.keep (deprecated)
Diffstat (limited to 'test/fscheck-privatekeep.exp')
-rwxr-xr-xtest/fscheck-privatekeep.exp18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/fscheck-privatekeep.exp b/test/fscheck-privatekeep.exp
index 513dcc37a..cda9408ed 100755
--- a/test/fscheck-privatekeep.exp
+++ b/test/fscheck-privatekeep.exp
@@ -5,7 +5,7 @@ spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7# dir 7# dir
8#send -- "firejail --net=br0 --private.keep=fscheck-dir\r" 8#send -- "firejail --net=br0 --private-home=fscheck-dir\r"
9#expect { 9#expect {
10# timeout {puts "TESTING ERROR 0\n";exit} 10# timeout {puts "TESTING ERROR 0\n";exit}
11# "Error" 11# "Error"
@@ -13,7 +13,7 @@ match_max 100000
13#after 100 13#after 100
14 14
15# .. 15# ..
16send -- "firejail --net=br0 --private.keep=../test/fscheck-dir\r" 16send -- "firejail --net=br0 --private-home=../test/fscheck-dir\r"
17expect { 17expect {
18 timeout {puts "TESTING ERROR 0.1\n";exit} 18 timeout {puts "TESTING ERROR 0.1\n";exit}
19 "Error" 19 "Error"
@@ -21,7 +21,7 @@ expect {
21after 100 21after 100
22 22
23# dir link 23# dir link
24send -- "firejail --net=br0 --private.keep=fscheck-dir-link\r" 24send -- "firejail --net=br0 --private-home=fscheck-dir-link\r"
25expect { 25expect {
26 timeout {puts "TESTING ERROR 1\n";exit} 26 timeout {puts "TESTING ERROR 1\n";exit}
27 "Error" 27 "Error"
@@ -29,7 +29,7 @@ expect {
29after 100 29after 100
30 30
31# .. 31# ..
32send -- "firejail --net=br0 --private.keep=../test/fscheck-dir-link\r" 32send -- "firejail --net=br0 --private-home=../test/fscheck-dir-link\r"
33expect { 33expect {
34 timeout {puts "TESTING ERROR 1.1\n";exit} 34 timeout {puts "TESTING ERROR 1.1\n";exit}
35 "Error" 35 "Error"
@@ -37,7 +37,7 @@ expect {
37after 100 37after 100
38 38
39# file link 39# file link
40send -- "firejail --net=br0 --private.keep=fscheck-file-link\r" 40send -- "firejail --net=br0 --private-home=fscheck-file-link\r"
41expect { 41expect {
42 timeout {puts "TESTING ERROR 2\n";exit} 42 timeout {puts "TESTING ERROR 2\n";exit}
43 "Error" 43 "Error"
@@ -45,7 +45,7 @@ expect {
45after 100 45after 100
46 46
47# file 47# file
48#send -- "firejail --net=br0 --private.keep=fscheck-file\r" 48#send -- "firejail --net=br0 --private-home=fscheck-file\r"
49#expect { 49#expect {
50# timeout {puts "TESTING ERROR 2.1\n";exit} 50# timeout {puts "TESTING ERROR 2.1\n";exit}
51# "Error" 51# "Error"
@@ -53,7 +53,7 @@ after 100
53#after 100 53#after 100
54 54
55# .. 55# ..
56send -- "firejail --net=br0 --private.keep=../test/fscheck-file\r" 56send -- "firejail --net=br0 --private-home=../test/fscheck-file\r"
57expect { 57expect {
58 timeout {puts "TESTING ERROR 2.2\n";exit} 58 timeout {puts "TESTING ERROR 2.2\n";exit}
59 "Error" 59 "Error"
@@ -61,7 +61,7 @@ expect {
61after 100 61after 100
62 62
63# no dir 63# no dir
64send -- "firejail --net=br0 --private.keep=../test/nodir\r" 64send -- "firejail --net=br0 --private-home=../test/nodir\r"
65expect { 65expect {
66 timeout {puts "TESTING ERROR 3\n";exit} 66 timeout {puts "TESTING ERROR 3\n";exit}
67 "Error" 67 "Error"
@@ -69,7 +69,7 @@ expect {
69after 100 69after 100
70 70
71# no file 71# no file
72send -- "firejail --net=br0 --private.keep=../test/nofile\r" 72send -- "firejail --net=br0 --private-home=../test/nofile\r"
73expect { 73expect {
74 timeout {puts "TESTING ERROR 3.1\n";exit} 74 timeout {puts "TESTING ERROR 3.1\n";exit}
75 "Error" 75 "Error"