forked from lix-project/lix
tests: fix functional-timeout
grepQuietInvert is a typo introduced byc11836126b
. 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:
parent
0b91a4b0ec
commit
ec5f025ec2
|
@ -12,7 +12,7 @@ if [ $status -ne 101 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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 "error: build may have failed for reasons other than timeout; output:"
|
||||||
echo "$messages" >&2
|
echo "$messages" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue