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
a405979f
Commit
a405979f
authored
Jan 24, 2013
by
Johan Bergström
Browse files
Check available tcl versions
parent
61853a9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
runtest
View file @
a405979f
#!/bin/sh
TCL
=
tclsh8.5
which
$TCL
if
[
"
$?
"
!=
"0"
]
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
'
in order to run the Redis test"
echo
"You need
tcl 8.5 or newer
in order to run the Redis test"
exit
1
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