From ec5f025ec2325e55834e37ca08f0f40125b041c4 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 28 May 2024 04:20:00 +0000 Subject: [PATCH] tests: fix functional-timeout grepQuietInvert is a typo introduced by c11836126b5. The test functional-timeout was failing silently because Bash considered the command-not-found error as truthy. Change-Id: Ic13829d02ec55d6ecd63a0f4d34ec0d32379609f --- tests/functional/timeout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/timeout.sh b/tests/functional/timeout.sh index b179b79a2..e29a85f81 100644 --- a/tests/functional/timeout.sh +++ b/tests/functional/timeout.sh @@ -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