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
206d6271
Commit
206d6271
authored
May 20, 2011
by
antirez
Browse files
Print version info before running the test
parent
330c90b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/test_helper.tcl
View file @
206d6271
...
@@ -110,6 +110,7 @@ proc cleanup {} {
...
@@ -110,6 +110,7 @@ proc cleanup {} {
}
}
proc execute_everything
{}
{
proc execute_everything
{}
{
execute_tests
"unit/printver"
execute_tests
"unit/auth"
execute_tests
"unit/auth"
execute_tests
"unit/protocol"
execute_tests
"unit/protocol"
execute_tests
"unit/basic"
execute_tests
"unit/basic"
...
...
tests/unit/printver.tcl
0 → 100644
View file @
206d6271
start_server
{}
{
set i
[
r info
]
regexp
{
redis_version:
(
.*?
)
\r\n
}
$i - version
regexp
{
redis_git_sha1:
(
.*?
)
\r\n
}
$i - sha1
puts
"Testing Redis version
$version
(
$sha1
)"
}
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