summaryrefslogtreecommitdiffstats
path: root/tests/unit/printver.tcl
blob: c80f45144d0b5429395f6d6cc79c22d994d00e28 (plain)
1
2
3
4
5
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)"
}