summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-02-15 19:51:50 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2017-02-15 19:51:50 -0500
commitf4ab39bfce61aa7b61b860fab96488b7f3e8fb66 (patch)
treeae8cae477d8a19cdf3a107b1dcfb3c8cbfef480d /test
parentmerge #1100 from zackw: fcopy rework, --follow-link support in fcopy (diff)
downloadfirejail-f4ab39bfce61aa7b61b860fab96488b7f3e8fb66.tar.gz
firejail-f4ab39bfce61aa7b61b860fab96488b7f3e8fb66.tar.zst
firejail-f4ab39bfce61aa7b61b860fab96488b7f3e8fb66.zip
merge #1100 from zackw: follow link support in --private-bin
Diffstat (limited to 'test')
-rwxr-xr-xtest/fcopy/cmdline.exp8
-rwxr-xr-xtest/fs/private-home.exp2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/fcopy/cmdline.exp b/test/fcopy/cmdline.exp
index 3ea33b01b..10dd8da58 100755
--- a/test/fcopy/cmdline.exp
+++ b/test/fcopy/cmdline.exp
@@ -10,7 +10,7 @@ match_max 100000
10send -- "/usr/lib/firejail/fcopy\r" 10send -- "/usr/lib/firejail/fcopy\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "files missing" 13 "arguments missing"
14} 14}
15expect { 15expect {
16 timeout {puts "TESTING ERROR 1\n";exit} 16 timeout {puts "TESTING ERROR 1\n";exit}
@@ -21,7 +21,7 @@ after 100
21send -- "/usr/lib/firejail/fcopy foo\r" 21send -- "/usr/lib/firejail/fcopy foo\r"
22expect { 22expect {
23 timeout {puts "TESTING ERROR 2\n";exit} 23 timeout {puts "TESTING ERROR 2\n";exit}
24 "files missing" 24 "arguments missing"
25} 25}
26expect { 26expect {
27 timeout {puts "TESTING ERROR 3\n";exit} 27 timeout {puts "TESTING ERROR 3\n";exit}
@@ -32,14 +32,14 @@ after 100
32send -- "/usr/lib/firejail/fcopy f%oo1 foo2\r" 32send -- "/usr/lib/firejail/fcopy f%oo1 foo2\r"
33expect { 33expect {
34 timeout {puts "TESTING ERROR 4\n";exit} 34 timeout {puts "TESTING ERROR 4\n";exit}
35 "invalid file name" 35 "invalid source file name"
36} 36}
37after 100 37after 100
38 38
39send -- "/usr/lib/firejail/fcopy foo1 f,oo2\r" 39send -- "/usr/lib/firejail/fcopy foo1 f,oo2\r"
40expect { 40expect {
41 timeout {puts "TESTING ERROR 5\n";exit} 41 timeout {puts "TESTING ERROR 5\n";exit}
42 "invalid file name" 42 "invalid dest file name"
43} 43}
44after 100 44after 100
45 45
diff --git a/test/fs/private-home.exp b/test/fs/private-home.exp
index f2f30914d..259eb4f9e 100755
--- a/test/fs/private-home.exp
+++ b/test/fs/private-home.exp
@@ -89,7 +89,7 @@ expect {
89 "Child process initialized" 89 "Child process initialized"
90} 90}
91after 100 91after 100
92send -- "file file ~/_firejail_test_link2\r" 92send -- "file ~/_firejail_test_link2\r"
93expect { 93expect {
94 timeout {puts "TESTING ERROR 11\n";exit} 94 timeout {puts "TESTING ERROR 11\n";exit}
95 "broken symbolic link" 95 "broken symbolic link"