]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Address “autoconf: forbidden tokens, basic” testsuite failure
authorZack Weinberg <zack@owlfolio.org>
Thu, 21 Dec 2023 21:30:17 +0000 (16:30 -0500)
committerZack Weinberg <zack@owlfolio.org>
Thu, 21 Dec 2023 21:30:17 +0000 (16:30 -0500)
commit3fbfb13e7a846e98fa931b2bce373b5b2364a11b
treeefc763a07344bd87d32f2bbe07fa5a621a469480
parentfdb58df6bbf3d69dd289c28691c4ea24f63bb620
Address “autoconf: forbidden tokens, basic” testsuite failure

On file systems with coarse-grained timestamps, this test was broken by
<https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=713d9822bbfb2923115065efaefed34a0113f8a1>,
which changed autom4te's logic for deciding whether its output file is
newer than its cache file.  After that commit, if their modification
times are equal, the output is considered out of date.  Since both
files are created in quick succession, on file systems with coarse
timestamps (1 or 2s resolution), it is very easy for their
modification times to be equal.

As a stopgap for 2.72, in this test, force the generated configure
script’s mtime to be newer than the cache file.

* tests/tools.at (autoconf: forbidden tokens, basic): After the
  second AT_MTIME_DELAY, touch configure.
NEWS
tests/tools.at