Skip to content
Snippets Groups Projects
Commit 4dc9179f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 26a5ec9a
No related branches found
No related tags found
No related merge requests found
......@@ -1013,9 +1013,6 @@ sub singletest {
$cmdargs .= " <$stdinfile";
}
if($valgrind) {
$cmdargs .= " 3>log/valgrind$testnum";
}
my $CMDLINE;
if(!$tool) {
......@@ -1026,6 +1023,10 @@ sub singletest {
$DBGCURL=$CMDLINE;
}
if($valgrind) {
$CMDLINE = "exec 3>log/valgrind$testnum && $CMDLINE";
}
$CMDLINE .= "$cmdargs >>$STDOUT 2>>$STDERR";
if($verbose) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment