xref: /redis-3.2.3/runtest-sentinel (revision 897adc1c)
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/sentinel/run.tcl $*
15