tests/instances.tcl: fix Redis ref in pause_on_error

Signed-off-by: Drew DeVault <sir@cmpwn.com>
This commit is contained in:
Drew DeVault 2024-03-25 12:49:40 +01:00
parent cdd60793d5
commit abd89c3ce2

View File

@ -171,7 +171,7 @@ proc spawn_instance {type base_port count {conf {}} {base_conf_file ""}} {
}
proc log_crashes {} {
set start_pattern {*REDIS BUG REPORT START*}
set start_pattern {*REDICT BUG REPORT START*}
set logs [glob */log.txt]
foreach log $logs {
set fd [open $log]
@ -344,7 +344,7 @@ proc pause_on_error {} {
set count 10
if {[lindex $argv 1] ne {}} {set count [lindex $argv 1]}
foreach_redict_id id {
puts "=== REDIS $id ===="
puts "=== REDICT $id ===="
puts [exec tail -$count redict_$id/log.txt]
puts "---------------------\n"
}