redis_study/tests/unit/printver.tcl
2020-09-05 12:01:22 +08:00

7 lines
187 B
Tcl

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)"
}