From: Nick Bowler Date: Sun, 3 Dec 2023 03:47:29 +0000 (-0500) Subject: Include AT_INIT bugfix monkey patch in the testsuite. X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/commitdiff_plain/075a8578cc9467d07ccff7688bfd0f4855712e1c Include AT_INIT bugfix monkey patch in the testsuite. I keep running into this stupid bug where AT_CHECK uses redirections on : and this fails on certain shells[1]. Maybe one day it will be fixed upstream. We already have a workaround but the dxcommon test suite is not using it... easily solved. [1] https://lists.gnu.org/archive/html/autoconf-patches/2021-03/msg00000.html --- diff --git a/testsuite.at b/testsuite.at index 7e93427..5ca87bf 100644 --- a/testsuite.at +++ b/testsuite.at @@ -4,12 +4,13 @@ License WTFPL2: Do What The Fuck You Want To Public License, version 2. This is free software: you are free to do what the fuck you want to. There is NO WARRANTY, to the extent permitted by law.]) -AT_INIT -AT_COLOR_TESTS - +m4_include([snippet/at-compat.at]) m4_include([snippet/test-tap.at]) m4_include([snippet/test-nls.at]) +AT_INIT +AT_COLOR_TESTS + m4_divert_push([PREPARE_TESTS])dnl # Reduce influence from the toplevel "make" invocation on test cases. AS_UNSET([MAKEFLAGS])