1a89c8bb8Santirez#!/bin/sh 2a89c8bb8SantirezTCL_VERSIONS="8.5 8.6" 3a89c8bb8SantirezTCLSH="" 4a89c8bb8Santirez 5a89c8bb8Santirezfor VERSION in $TCL_VERSIONS; do 6a89c8bb8Santirez TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL 7a89c8bb8Santirezdone 8a89c8bb8Santirez 9a89c8bb8Santirezif [ -z $TCLSH ] 10a89c8bb8Santirezthen 11a89c8bb8Santirez echo "You need tcl 8.5 or newer in order to run the Redis Sentinel test" 12a89c8bb8Santirez exit 1 13a89c8bb8Santirezfi 14*897adc1cSantirez$TCLSH tests/sentinel/run.tcl $* 15