summaryrefslogtreecommitdiff
path: root/tests/instances.tcl
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2020-09-07 16:26:11 +0300
committerGitHub <noreply@github.com>2020-09-07 16:26:11 +0300
commit42ba7a1b75aa100ba99d2024420bc658439452fb (patch)
tree719115c29b4ba78c960d93150ef83437209e0bde /tests/instances.tcl
parent573246f73c0d9de6155a7bf5f0cbce98da129afb (diff)
downloadredis-42ba7a1b75aa100ba99d2024420bc658439452fb.tar.gz
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.
Diffstat (limited to 'tests/instances.tcl')
-rw-r--r--tests/instances.tcl2
1 files changed, 1 insertions, 1 deletions
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
}