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

da723a917 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.
This commit is contained in:
Oran Agra 2020-09-07 16:26:11 +03:00 committed by GitHub
parent 725616534e
commit 470de9a516

View File

@ -52,7 +52,7 @@ proc exec_instance {type dirname cfgfile} {
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 &]
} else {
set pid [exec ../../../src/${prgname} $cfgfile &]
set pid [exec ../../../src/${prgname} $cfgfile 2>> $errfile &]
}
return $pid
}