"Fossies" - the Fresh Open Source Software Archive

Member "redis-7.0.8/runtest-moduleapi" (16 Jan 2023, 1613 Bytes) of package /linux/misc/redis-7.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 and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "runtest-moduleapi": 7.0.5_vs_7.0.6.

    1 #!/bin/sh
    2 TCL_VERSIONS="8.5 8.6 8.7"
    3 TCLSH=""
    4 [ -z "$MAKE" ] && MAKE=make
    5 
    6 for VERSION in $TCL_VERSIONS; do
    7     TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
    8 done
    9 
   10 if [ -z $TCLSH ]
   11 then
   12     echo "You need tcl 8.5 or newer in order to run the Redis ModuleApi test"
   13     exit 1
   14 fi
   15 
   16 $MAKE -C tests/modules && \
   17 $TCLSH tests/test_helper.tcl \
   18 --single unit/moduleapi/commandfilter \
   19 --single unit/moduleapi/basics \
   20 --single unit/moduleapi/fork \
   21 --single unit/moduleapi/testrdb \
   22 --single unit/moduleapi/infotest \
   23 --single unit/moduleapi/moduleconfigs \
   24 --single unit/moduleapi/infra \
   25 --single unit/moduleapi/propagate \
   26 --single unit/moduleapi/hooks \
   27 --single unit/moduleapi/misc \
   28 --single unit/moduleapi/blockonkeys \
   29 --single unit/moduleapi/blockonbackground \
   30 --single unit/moduleapi/scan \
   31 --single unit/moduleapi/datatype \
   32 --single unit/moduleapi/auth \
   33 --single unit/moduleapi/keyspace_events \
   34 --single unit/moduleapi/blockedclient \
   35 --single unit/moduleapi/getkeys \
   36 --single unit/moduleapi/test_lazyfree \
   37 --single unit/moduleapi/defrag \
   38 --single unit/moduleapi/keyspecs \
   39 --single unit/moduleapi/hash \
   40 --single unit/moduleapi/zset \
   41 --single unit/moduleapi/list \
   42 --single unit/moduleapi/stream \
   43 --single unit/moduleapi/mallocsize \
   44 --single unit/moduleapi/datatype2 \
   45 --single unit/moduleapi/cluster \
   46 --single unit/moduleapi/aclcheck \
   47 --single unit/moduleapi/subcommands \
   48 --single unit/moduleapi/reply \
   49 --single unit/moduleapi/cmdintrospection \
   50 --single unit/moduleapi/eventloop \
   51 --single unit/moduleapi/timer \
   52 --single unit/moduleapi/publish \
   53 --single unit/moduleapi/usercall \
   54 "${@}"