aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-16 09:52:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-16 09:52:36 +0000
commitd3b414724b18e84ed32c044527aac9a85e434690 (patch)
tree336fdd590a0b9a1aa4e246fb85c7219bcdd50312 /tests
parent38181fbc7469ea69c8679d45f5968bdac7aea935 (diff)
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')
-rwxr-xr-xtests/runtests.pl9
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>;