aboutsummaryrefslogtreecommitdiffstats
path: root/test/fcopy/cmdline.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fcopy/cmdline.exp')
-rwxr-xr-xtest/fcopy/cmdline.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fcopy/cmdline.exp b/test/fcopy/cmdline.exp
index 10dd8da58..798c9e718 100755
--- a/test/fcopy/cmdline.exp
+++ b/test/fcopy/cmdline.exp
@@ -7,7 +7,7 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "/usr/lib/firejail/fcopy\r" 10send -- "fcopy\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "arguments missing" 13 "arguments missing"
@@ -18,7 +18,7 @@ expect {
18} 18}
19after 100 19after 100
20 20
21send -- "/usr/lib/firejail/fcopy foo\r" 21send -- "fcopy foo\r"
22expect { 22expect {
23 timeout {puts "TESTING ERROR 2\n";exit} 23 timeout {puts "TESTING ERROR 2\n";exit}
24 "arguments missing" 24 "arguments missing"
@@ -29,14 +29,14 @@ expect {
29} 29}
30after 100 30after 100
31 31
32send -- "/usr/lib/firejail/fcopy f%oo1 foo2\r" 32send -- "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 source 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 -- "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 dest file name" 42 "invalid dest file name"