aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMario Rodas <rodasmario2@gmail.com>2024-05-28 04:20:00 +0000
committerMario Rodas <rodasmario2@gmail.com>2024-05-28 04:20:00 +0000
commitec5f025ec2325e55834e37ca08f0f40125b041c4 (patch)
treeaffd619502f4115e25c8475cd64e73050f7c342d /tests
parent0b91a4b0ec79c27ee36d8a7e2afd7737cb825b65 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/timeout.sh2
1 files changed, 1 insertions, 1 deletions
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