projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a15b6a6
)
Display the time in verbose mode during the torture tests to help determine
author
Dan Fandrich
<dan@coneharvesters.com>
Mon, 17 Nov 2008 20:24:13 +0000
(20:24 +0000)
committer
Dan Fandrich
<dan@coneharvesters.com>
Mon, 17 Nov 2008 20:24:13 +0000
(20:24 +0000)
when the tests stall.
tests/runtests.pl
patch
|
blob
|
history
diff --git
a/tests/runtests.pl
b/tests/runtests.pl
index
d7c2d84
..
f44991c
100755
(executable)
--- 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;