]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: work also with v2.72-9-g7a6347d1 and newer v1.16.90
authorJim Meyering <meyering@meta.com>
Mon, 3 Jun 2024 01:02:41 +0000 (18:02 -0700)
committerJim Meyering <meyering@meta.com>
Mon, 3 Jun 2024 05:59:05 +0000 (22:59 -0700)
* 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.

t/dist-missing-m4.sh

index c9756913bcad978462678beac91cf816cb0369e0..d0d9c835c7d831a23b92f6fe65e362b784492fff 100644 (file)
@@ -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