mirror of https://mirror.osredm.com/root/redis.git
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:
parent
573246f73c
commit
42ba7a1b75
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue