"Fossies" - the Fresh Open Source Software Archive

Member "redis-6.0.8/runtest-moduleapi" (10 Sep 2020, 761 Bytes) of package /linux/misc/redis-6.0.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "runtest-moduleapi": 6.0.7_vs_6.0.8.

    1 #!/bin/sh
    2 TCL_VERSIONS="8.5 8.6"
    3 TCLSH=""
    4 
    5 for VERSION in $TCL_VERSIONS; do
    6     TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
    7 done
    8 
    9 if [ -z $TCLSH ]
   10 then
   11     echo "You need tcl 8.5 or newer in order to run the Redis test"
   12     exit 1
   13 fi
   14 
   15 make -C tests/modules && \
   16 $TCLSH tests/test_helper.tcl \
   17 --single unit/moduleapi/commandfilter \
   18 --single unit/moduleapi/fork \
   19 --single unit/moduleapi/testrdb \
   20 --single unit/moduleapi/infotest \
   21 --single unit/moduleapi/propagate \
   22 --single unit/moduleapi/hooks \
   23 --single unit/moduleapi/misc \
   24 --single unit/moduleapi/blockonkeys \
   25 --single unit/moduleapi/scan \
   26 --single unit/moduleapi/datatype \
   27 --single unit/moduleapi/auth \
   28 --single unit/moduleapi/keyspace_events \
   29 --single unit/moduleapi/blockedclient \
   30 "${@}"