tests: fix functional-timeout

grepQuietInvert is a typo introduced by c11836126b.

The test functional-timeout was failing silently because Bash considered
the command-not-found error as truthy.

Change-Id: Ic13829d02ec55d6ecd63a0f4d34ec0d32379609f
This commit is contained in:
Mario Rodas 2024-05-28 04:20:00 +00:00
parent 0b91a4b0ec
commit ec5f025ec2

View file

@ -12,7 +12,7 @@ if [ $status -ne 101 ]; then
exit 1
fi
if echo "$messages" | grepQuietInvert "timed out"; then
if echo "$messages" | grepQuietInverse "timed out"; then
echo "error: build may have failed for reasons other than timeout; output:"
echo "$messages" >&2
exit 1