aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-11-17 20:24:13 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-11-17 20:24:13 +0000
commitcdd6054e089ea5273dffe670b37d4b5c9c3ca562 (patch)
tree1b15ed67930930ddc370aa77b4fdedffe159e3c3
parenta15b6a6f86229de50f7622e23a6b19c040d3d4e1 (diff)
Display the time in verbose mode during the torture tests to help determine
when the tests stall.
-rwxr-xr-xtests/runtests.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index d7c2d84fc..f44991c6b 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -433,6 +433,7 @@ sub runclientoutput {
# Memory allocation test and failure torture testing.
#
sub torture {
+ use POSIX "strftime";
my $testcmd = shift;
my $gdbline = shift;
@@ -469,7 +470,7 @@ sub torture {
next;
}
- logmsg "Fail alloc no: $limit\r" if($verbose);
+ logmsg "Fail alloc no: $limit @ " . strftime ("%H:%M:%S", localtime) . "\r" if($verbose);
# make the memory allocation function number $limit return failure
$ENV{'CURL_MEMLIMIT'} = $limit;