Loading tests/runtests.pl +2 −1 Original line number Original line Diff line number Diff line Loading @@ -433,6 +433,7 @@ sub runclientoutput { # Memory allocation test and failure torture testing. # Memory allocation test and failure torture testing. # # sub torture { sub torture { use POSIX "strftime"; my $testcmd = shift; my $testcmd = shift; my $gdbline = shift; my $gdbline = shift; Loading Loading @@ -469,7 +470,7 @@ sub torture { next; 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 # make the memory allocation function number $limit return failure $ENV{'CURL_MEMLIMIT'} = $limit; $ENV{'CURL_MEMLIMIT'} = $limit; Loading Loading
tests/runtests.pl +2 −1 Original line number Original line Diff line number Diff line Loading @@ -433,6 +433,7 @@ sub runclientoutput { # Memory allocation test and failure torture testing. # Memory allocation test and failure torture testing. # # sub torture { sub torture { use POSIX "strftime"; my $testcmd = shift; my $testcmd = shift; my $gdbline = shift; my $gdbline = shift; Loading Loading @@ -469,7 +470,7 @@ sub torture { next; 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 # make the memory allocation function number $limit return failure $ENV{'CURL_MEMLIMIT'} = $limit; $ENV{'CURL_MEMLIMIT'} = $limit; Loading