From 42ba7a1b75aa100ba99d2024420bc658439452fb Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Mon, 7 Sep 2020 16:26:11 +0300 Subject: [PATCH] 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. --- tests/instances.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/instances.tcl b/tests/instances.tcl index 2029bc5f5..82c35854b 100644 --- a/tests/instances.tcl +++ b/tests/instances.tcl @@ -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 }