]> git.ipfire.org Git - thirdparty/autoconf.git/commit
testsuite: Handle `balanced ASCII quotes' correctly in m4 errors.
authorZack Weinberg <zackw@panix.com>
Wed, 6 Jul 2022 20:05:42 +0000 (16:05 -0400)
committerZack Weinberg <zackw@panix.com>
Wed, 6 Jul 2022 20:05:42 +0000 (16:05 -0400)
commit5d8a59e337712be6b32b77e61fcc269093a80c66
treed13f844b2c274787fc5d62c031ed90c82841c3e0
parent76beb33bfe435a4434fd63920affe38620166d85
testsuite: Handle `balanced ASCII quotes' correctly in m4 errors.

AT_CHECK_M4 was _documented_ to convert

   m4: cannot open `foo': No such file or directory

to

   m4: cannot open 'foo': No such file or directory

but the regexp that was supposed to do this didn’t work.

Fix the regexp, and remove a workaround for the bug in one test
(yes, we had code in our own testsuite to work around bugs in our
own testsuite!)

* tests/local.at (AT_CHECK_M4): Fix regex for “cannot open” messages.
* tests/tools.at (autom4te cache): Remove workaround for buggy regex
  in AT_CHECK_M4.
tests/local.at
tests/tools.at