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