diff options
author | mOo <moo.lighttpd@gmail.com> | 2005-09-29 17:07:22 +0000 |
---|---|---|
committer | mOo <moo.lighttpd@gmail.com> | 2005-09-29 17:07:22 +0000 |
commit | 181fed2ab03a79e14439fbb39f746d7cea142e57 (patch) | |
tree | 1ef1c5c32568153a66759e0a29a135c1d1945964 /tests | |
parent | 1d3da14a5b433a3477ee2cc54c2003d0f0fab26b (diff) | |
download | lighttpd-git-181fed2ab03a79e14439fbb39f746d7cea142e57.tar.gz |
let u know what's wrong
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@760 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/LightyTest.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm index 5080f7fe..37023d3b 100755 --- a/tests/LightyTest.pm +++ b/tests/LightyTest.pm @@ -189,6 +189,7 @@ sub handle_http { $resp_hdr{$h} = $2; } else { + diag(sprintf("unexpected line '$line'\n")); return -1; } } @@ -219,6 +220,7 @@ sub handle_http { return -1; } } else { + diag(sprintf("unexpected resp_line '$resp_line'\n")); return -1; } @@ -275,7 +277,10 @@ sub handle_http { } # we should have sucked up everything - return -1 if (defined $lines); + if (defined $lines) { + diag(sprintf("unexpected lines '$lines'\n")); + return -1; + } return 0; } |