mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Fix deprecated tail syntax in tests (#7543)
This commit is contained in:
parent
4e8f2d6881
commit
3f2fbc4c61
@ -119,7 +119,7 @@ proc wait_for_log_message {srv_idx pattern from_line maxtries delay} {
|
||||
set retry $maxtries
|
||||
set stdout [srv $srv_idx stdout]
|
||||
while {$retry} {
|
||||
set result [exec tail +$from_line < $stdout]
|
||||
set result [exec tail -n +$from_line < $stdout]
|
||||
set result [split $result "\n"]
|
||||
foreach line $result {
|
||||
if {[string match $pattern $line]} {
|
||||
|
Loading…
Reference in New Issue
Block a user