From: Dan Fandrich Date: Mon, 16 Aug 2010 19:09:18 +0000 (-0700) Subject: Clear stdout and stderr files on each test run X-Git-Tag: curl-7_21_2~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f4a174698974829cea2dde1fcd598ab6d401b0d;p=curl Clear stdout and stderr files on each test run This allows a test to be run several times in the same test session even when the -k option is given. --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 2a10e5f7b..06ff733f6 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2627,7 +2627,7 @@ sub singletest { } } - $CMDLINE .= "$cmdargs >>$STDOUT 2>>$STDERR"; + $CMDLINE .= "$cmdargs >$STDOUT 2>$STDERR"; if($verbose) { logmsg "$CMDLINE\n";