Commit a227bc80 authored by Oran Agra's avatar Oran Agra
Browse files

fix broken cluster/sentinel tests by recent commit (#7752)

2b998de4 added a file for stderr to keep valgrind log but i forgot to
add a similar thing when valgrind isn't being used.
the result is that `glob */err.txt` fails.

(cherry picked from commit 42ba7a1b)
parent d410dc31
...@@ -52,7 +52,7 @@ proc exec_instance {type dirname cfgfile} { ...@@ -52,7 +52,7 @@ proc exec_instance {type dirname cfgfile} {
if {$::valgrind} { if {$::valgrind} {
set pid [exec valgrind --track-origins=yes --suppressions=../../../src/valgrind.sup --show-reachable=no --show-possibly-lost=no --leak-check=full ../../../src/${prgname} $cfgfile 2>> $errfile &] set pid [exec valgrind --track-origins=yes --suppressions=../../../src/valgrind.sup --show-reachable=no --show-possibly-lost=no --leak-check=full ../../../src/${prgname} $cfgfile 2>> $errfile &]
} else { } else {
set pid [exec ../../../src/${prgname} $cfgfile &] set pid [exec ../../../src/${prgname} $cfgfile 2>> $errfile &]
} }
return $pid return $pid
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment