]> granicus.if.org Git - curl/commitdiff
Clear stdout and stderr files on each test run
authorDan Fandrich <dan@coneharvesters.com>
Mon, 16 Aug 2010 19:09:18 +0000 (12:09 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Mon, 16 Aug 2010 19:09:18 +0000 (12:09 -0700)
This allows a test to be run several times in the same test
session even when the -k option is given.

tests/runtests.pl

index 2a10e5f7b5560ebb70075c13dc9ebc4280c3228a..06ff733f62ff7c97e054f05c4dbc240c93fde77c 100755 (executable)
@@ -2627,7 +2627,7 @@ sub singletest {
         }
     }
 
-    $CMDLINE .= "$cmdargs >>$STDOUT 2>>$STDERR";
+    $CMDLINE .= "$cmdargs >$STDOUT 2>$STDERR";
 
     if($verbose) {
         logmsg "$CMDLINE\n";