aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2022-03-10 16:05:31 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2022-03-10 16:05:31 +0100
commit7505535d6cdc798392f2f271a6b84326bf83d48d (patch)
treead0af54c3f16dcd3f689f9bc54bf00bb3a41aa30 /test
parentls: add control character filtering (similar to cat option) (diff)
downloadfirejail-7505535d6cdc798392f2f271a6b84326bf83d48d.tar.gz
firejail-7505535d6cdc798392f2f271a6b84326bf83d48d.tar.zst
firejail-7505535d6cdc798392f2f271a6b84326bf83d48d.zip
fix testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/fcopy/cmdline.exp14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/fcopy/cmdline.exp b/test/fcopy/cmdline.exp
index b6b404d9c..91f18c332 100755
--- a/test/fcopy/cmdline.exp
+++ b/test/fcopy/cmdline.exp
@@ -32,14 +32,22 @@ after 100
32send -- "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 "Error:"
36}
37expect {
38 timeout {puts "TESTING ERROR 5\n";exit}
39 "is an invalid filename"
36} 40}
37after 100 41after 100
38 42
39send -- "fcopy foo1 f,oo2\r" 43send -- "fcopy foo1 f,oo2\r"
40expect { 44expect {
41 timeout {puts "TESTING ERROR 5\n";exit} 45 timeout {puts "TESTING ERROR 6\n";exit}
42 "invalid dest file name" 46 "Error:"
47}
48expect {
49 timeout {puts "TESTING ERROR 7\n";exit}
50 "is an invalid filename"
43} 51}
44after 100 52after 100
45 53