redis_study/tests/unit/printver.tcl

7 lines
187 B
Tcl
Raw Normal View History

2020-09-05 04:01:22 +00:00
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)"
}