mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 18:54:58 +00:00
Print version info before running the test
This commit is contained in:
parent
330c90b018
commit
206d62710c
@ -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"
|
||||||
|
6
tests/unit/printver.tcl
Normal file
6
tests/unit/printver.tcl
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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)"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user