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

2b998de46 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 42ba7a1b75)
This commit is contained in:
Oran Agra 2020-09-07 16:26:11 +03:00
parent d410dc3162
commit a227bc8053

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
}