From: Jim Meyering Date: Mon, 3 Jun 2024 01:02:41 +0000 (-0700) Subject: tests: work also with v2.72-9-g7a6347d1 and newer X-Git-Tag: v1.16.90^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d61068e1a8ef7cdd07508ff9ec3a6c841fcdb754;p=thirdparty%2Fautomake.git tests: work also with v2.72-9-g7a6347d1 and newer * t/dist-missing-m4.sh: Accommodate a slightly different diagnostic ("undefined or overquoted macro" rather than "possibly undefined macro") in autoconf as of v2.72-9-g7a6347d1. --- diff --git a/t/dist-missing-m4.sh b/t/dist-missing-m4.sh index c9756913b..d0d9c835c 100644 --- a/t/dist-missing-m4.sh +++ b/t/dist-missing-m4.sh @@ -61,7 +61,7 @@ for vpath in false :; do run_make -e FAIL -M # This error will come from autoconf, not make, so we can be stricter # in our grepping of it. - grep 'possibly undefined .*MY_ZARDOZ' output + $EGREP '(possibly undefined|undefined or overquoted) macro: .*MY_ZARDOZ' output grep 'MY_FOOBAR' output && exit 1 # No spurious error, please. cd "$ocwd" || fatal_ "cannot chdir back to top-level test directory" done