File: runtest

package info (click to toggle)
redis 3%3A3.2.6-3%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,412 kB
  • sloc: ansic: 90,454; tcl: 12,122; perl: 4,046; sh: 4,006; ruby: 1,593; makefile: 1,064
file content (14 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
TCL_VERSIONS="8.5 8.6"
TCLSH=""

for VERSION in $TCL_VERSIONS; do
	TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
done

if [ -z $TCLSH ]
then
    echo "You need tcl 8.5 or newer in order to run the Redis test"
    exit 1
fi
$TCLSH tests/test_helper.tcl $*