mirror of
https://github.com/curl/curl.git
synced 2026-06-17 01:15:42 +03:00
Display the time in verbose mode during the torture tests to help determine
when the tests stall.
This commit is contained in:
parent
a15b6a6f86
commit
cdd6054e08
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue