runtest 275 B

1234567891011121314
  1. #!/bin/sh
  2. TCL_VERSIONS="8.5 8.6"
  3. TCLSH=""
  4. for VERSION in $TCL_VERSIONS; do
  5. TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
  6. done
  7. if [ -z $TCLSH ]
  8. then
  9. echo "You need tcl 8.5 or newer in order to run the Redis test"
  10. exit 1
  11. fi
  12. $TCLSH tests/test_helper.tcl "${@}"