From: Dan Fandrich Date: Tue, 24 Apr 2007 23:28:57 +0000 (+0000) Subject: Treat log files and -k the same when running torture tests as when not. X-Git-Tag: curl-7_16_3~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61d7e720a58bef33e46b300c70ad88793801e077;p=thirdparty%2Fcurl.git Treat log files and -k the same when running torture tests as when not. --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 492eed392d..dd6490b441 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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; }