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.
This commit is contained in:
Oran Agra 2020-09-07 16:26:11 +03:00 committed by GitHub
parent 573246f73c
commit 42ba7a1b75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}