]> git.draconx.ca Git - dxcommon.git/commitdiff
Include AT_INIT bugfix monkey patch in the testsuite.
authorNick Bowler <nbowler@draconx.ca>
Sun, 3 Dec 2023 03:47:29 +0000 (22:47 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 3 Dec 2023 06:07:51 +0000 (01:07 -0500)
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

testsuite.at

index 7e93427d4a333c8e06dadd5cdb5a04e61bc5a5ae..5ca87bfd9a63362f5ea0ff794e38c0a841cdbd57 100644 (file)
@@ -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])