mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
tests/instances.tcl: fix Redis ref in pause_on_error
Signed-off-by: Drew DeVault <sir@cmpwn.com>
This commit is contained in:
parent
cdd60793d5
commit
abd89c3ce2
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user