xref: /redis-3.2.3/runtest-cluster (revision c3f85c01)
1#!/bin/sh
2TCL_VERSIONS="8.5 8.6"
3TCLSH=""
4
5for VERSION in $TCL_VERSIONS; do
6	TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
7done
8
9if [ -z $TCLSH ]
10then
11    echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test"
12    exit 1
13fi
14$TCLSH tests/cluster/run.tcl $*
15