Commit dd8d883c authored by antirez's avatar antirez
Browse files

Sentiel test: add test start time in output.

parent c5edd917
......@@ -137,7 +137,8 @@ proc pause_on_error {} {
# We redefine 'test' as for Sentinel we don't use the server-client
# architecture for the test, everything is sequential.
proc test {descr code} {
puts -nonewline "> $descr: "
set ts [clock format [clock seconds] -format %H:%M:%S]
puts -nonewline "$ts> $descr: "
flush stdout
if {[catch {set retval [uplevel 1 $code]} error]} {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment