It was created 13 years ago by antirez. Based on the comment
Print version info before running the test
it was created as a development test tool just for the two info-fields redis_version and redis_git_sha1 (which is now server_git_sha1). All it does is check that the fields are present and print their values.
redis_version is already checked in info-command.tcl. redis_git_sha1 and some other fields should be added to info-command.tcl.
It seems that https://github.com/valkey-io/valkey/blob/unstable/tests/unit/printver.tcl should be absorbed into https://github.com/valkey-io/valkey/blob/unstable/tests/unit/info-command.tcl
It was created 13 years ago by antirez. Based on the comment
it was created as a development test tool just for the two info-fields
redis_version
andredis_git_sha1
(which is nowserver_git_sha1
). All it does is check that the fields are present and print their values.redis_version
is already checked ininfo-command.tcl
.redis_git_sha1
and some other fields should be added toinfo-command.tcl
.