diff --git a/tests/support/util.tcl b/tests/support/util.tcl index fce3ffd18..69ea675dc 100644 --- a/tests/support/util.tcl +++ b/tests/support/util.tcl @@ -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]} {