From d61068e1a8ef7cdd07508ff9ec3a6c841fcdb754 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 2 Jun 2024 18:02:41 -0700 Subject: [PATCH] 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. --- t/dist-missing-m4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3