mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
modified how valgrind is run to make sure that file handle 3 exists when
we tell valgrind to use that to send the logfile to
This commit is contained in:
parent
26a5ec9aa0
commit
4dc9179f4b
@ -1013,9 +1013,6 @@ sub singletest {
|
|||||||
|
|
||||||
$cmdargs .= " <$stdinfile";
|
$cmdargs .= " <$stdinfile";
|
||||||
}
|
}
|
||||||
if($valgrind) {
|
|
||||||
$cmdargs .= " 3>log/valgrind$testnum";
|
|
||||||
}
|
|
||||||
my $CMDLINE;
|
my $CMDLINE;
|
||||||
|
|
||||||
if(!$tool) {
|
if(!$tool) {
|
||||||
@ -1026,6 +1023,10 @@ sub singletest {
|
|||||||
$DBGCURL=$CMDLINE;
|
$DBGCURL=$CMDLINE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($valgrind) {
|
||||||
|
$CMDLINE = "exec 3>log/valgrind$testnum && $CMDLINE";
|
||||||
|
}
|
||||||
|
|
||||||
$CMDLINE .= "$cmdargs >>$STDOUT 2>>$STDERR";
|
$CMDLINE .= "$cmdargs >>$STDOUT 2>>$STDERR";
|
||||||
|
|
||||||
if($verbose) {
|
if($verbose) {
|
||||||
|
Loading…
Reference in New Issue
Block a user