Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e92edd3c
Commit
e92edd3c
authored
Jan 24, 2013
by
Johan Bergström
Committed by
antirez
Feb 05, 2013
Browse files
Check available tcl versions
parent
2543fa64
Changes
1
Show whitespace changes
Inline
Side-by-side
runtest
View file @
e92edd3c
#!/bin/sh
#!/bin/sh
TCL
=
tclsh8.5
TCL_VERSIONS
=
"8.5 8.6"
which
$TCL
TCLSH
=
""
if
[
"
$?
"
!=
"0"
]
for
VERSION
in
$TCL_VERSIONS
;
do
TCL
=
`
which tclsh
$VERSION
2>/dev/null
`
&&
TCLSH
=
$TCL
done
if
[
-z
$TCLSH
]
then
then
echo
"You need
'
$TCL
'
in order to run the Redis test"
echo
"You need
tcl 8.5 or newer
in order to run the Redis test"
exit
1
exit
1
fi
fi
$TCL
tests/test_helper.tcl
$*
$TCL
SH
tests/test_helper.tcl
$*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment