Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1f2af715
Commit
1f2af715
authored
May 20, 2011
by
antirez
Browse files
Print version info before running the test
parent
de6ba77b
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/test_helper.tcl
View file @
1f2af715
...
@@ -108,6 +108,7 @@ proc cleanup {} {
...
@@ -108,6 +108,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 @
1f2af715
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