diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:40:55 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:40:55 +0100 |
| commit | 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda (patch) | |
| tree | 1acdfa5220cd13b7be43a2a01368e80d306473ca /examples/redis-unstable/runtest-cluster | |
| parent | c7ab12bba64d9c20ccd79b132dac475f7bc3923e (diff) | |
| download | crep-5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda.tar.gz | |
Add Redis source code for testing
Diffstat (limited to 'examples/redis-unstable/runtest-cluster')
| -rwxr-xr-x | examples/redis-unstable/runtest-cluster | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/redis-unstable/runtest-cluster b/examples/redis-unstable/runtest-cluster new file mode 100755 index 0000000..e465ce1 --- /dev/null +++ b/examples/redis-unstable/runtest-cluster | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | TCL_VERSIONS="8.5 8.6 8.7" | ||
| 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 Cluster test" | ||
| 12 | exit 1 | ||
| 13 | fi | ||
| 14 | $TCLSH tests/cluster/run.tcl $* | ||
