xref: /redis-3.2.3/runtest (revision a405979f)
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 test"
12    exit 1
13fi
14$TCLSH tests/test_helper.tcl $*
15