diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-16 09:52:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-16 09:52:36 +0000 |
commit | d3b414724b18e84ed32c044527aac9a85e434690 (patch) | |
tree | 336fdd590a0b9a1aa4e246fb85c7219bcdd50312 /tests/runtests.pl | |
parent | 38181fbc7469ea69c8679d45f5968bdac7aea935 (diff) | |
download | curl-d3b414724b18e84ed32c044527aac9a85e434690.tar.gz |
Dinar in bug report #1086121, found a file handle leak when a multipart
formpost (including a file upload part) was aborted before the whole file was
sent.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 1be984b58..1e8ff315b 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -357,10 +357,15 @@ sub runhttpserver { my $data; if($res && $verbose) { - print "RUN: curl command returned $res\nRUN: "; open(ERR, "<log/verifystderr"); - print <ERR>; + my @e = <ERR>; close(ERR); + print "RUN: curl command returned $res\n"; + for(@e) { + if($_ !~ /^([ \t]*)$/) { + print "RUN: $_"; + } + } } open(FILE, "<log/verifiedserver"); my @file=<FILE>; |