diff options
-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 | ||