]> granicus.if.org Git - curl/commitdiff
Treat log files and -k the same when running torture tests as when not.
authorDan Fandrich <dan@coneharvesters.com>
Tue, 24 Apr 2007 23:28:57 +0000 (23:28 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 24 Apr 2007 23:28:57 +0000 (23:28 +0000)
tests/runtests.pl

index 492eed392def0597cbe43278fd2bbe499fa7fe9e..dd6490b441ad56045fc27479f4e88dd5a20753d1 100755 (executable)
@@ -1715,8 +1715,11 @@ sub singletest {
         $ENV{$e}=""; # clean up
     }
 
-    # Don't bother doing verification on torture tests
+    # Skip all the verification on torture tests
     if ($torture) {
+       if(!$cmdres && !$keepoutfiles) {
+           cleardir($LOGDIR);
+       }
         return $cmdres;
     }