diff options
author | smitsohu <smitsohu@gmail.com> | 2022-03-10 16:05:31 +0100 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2022-03-10 16:05:31 +0100 |
commit | 7505535d6cdc798392f2f271a6b84326bf83d48d (patch) | |
tree | ad0af54c3f16dcd3f689f9bc54bf00bb3a41aa30 | |
parent | ls: add control character filtering (similar to cat option) (diff) | |
download | firejail-7505535d6cdc798392f2f271a6b84326bf83d48d.tar.gz firejail-7505535d6cdc798392f2f271a6b84326bf83d48d.tar.zst firejail-7505535d6cdc798392f2f271a6b84326bf83d48d.zip |
fix testing
-rwxr-xr-x | test/fcopy/cmdline.exp | 14 |
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 | |||
32 | send -- "fcopy f%oo1 foo2\r" | 32 | send -- "fcopy f%oo1 foo2\r" |
33 | expect { | 33 | expect { |
34 | timeout {puts "TESTING ERROR 4\n";exit} | 34 | timeout {puts "TESTING ERROR 4\n";exit} |
35 | "invalid source file name" | 35 | "Error:" |
36 | } | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR 5\n";exit} | ||
39 | "is an invalid filename" | ||
36 | } | 40 | } |
37 | after 100 | 41 | after 100 |
38 | 42 | ||
39 | send -- "fcopy foo1 f,oo2\r" | 43 | send -- "fcopy foo1 f,oo2\r" |
40 | expect { | 44 | expect { |
41 | timeout {puts "TESTING ERROR 5\n";exit} | 45 | timeout {puts "TESTING ERROR 6\n";exit} |
42 | "invalid dest file name" | 46 | "Error:" |
47 | } | ||
48 | expect { | ||
49 | timeout {puts "TESTING ERROR 7\n";exit} | ||
50 | "is an invalid filename" | ||
43 | } | 51 | } |
44 | after 100 | 52 | after 100 |
45 | 53 | ||