diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-12-12 18:07:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-12-12 18:07:10 +0000 |
commit | 637bce2707a6faec6170d2c4dfb4d0c691ae5004 (patch) | |
tree | 134cd99555eb13fbb06cd890fcd24b0a65ae911c | |
parent | 07e3dc2ee2ac3316dee6ee361a9e4619363dbaf3 (diff) |
bail out on crap received, makes test case 402 *NOT* ruin the test series
anymore!
-rw-r--r-- | tests/ftpserver.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 503f1a5ce..37bd78307 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -439,7 +439,8 @@ for ( $waitedpid = 0; unless (m/^([A-Z]{3,4})\s?(.*)/i) { print "500 '$_': command not understood.\r\n"; - next; + logmsg "unknown crap received, bailing out hard\n"; + last; } my $FTPCMD=$1; my $FTPARG=$2; |