diff --git a/test/blackbox/helpers_wait.bash b/test/blackbox/helpers_wait.bash index 12b95e19..2d24b78c 100644 --- a/test/blackbox/helpers_wait.bash +++ b/test/blackbox/helpers_wait.bash @@ -13,7 +13,7 @@ function wait_str() { local search_term="$2" local wait_time="${3:-2m}" - (timeout $wait_time tail -F -n0 "$filepath" &) | grep -q "$search_term" && return 0 + (timeout $wait_time tail -F -n +1 "$filepath" &) | grep -q "$search_term" && return 0 echo "timeout of $wait_time reached. unable to find '$search_term' in '$filepath'"