]> git.draconx.ca Git - cdecl99.git/commitdiff
Bump dxcommon to pull in AIX fixes.
authorNick Bowler <nbowler@draconx.ca>
Tue, 2 Jan 2024 04:40:30 +0000 (23:40 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 3 Jan 2024 03:12:45 +0000 (22:12 -0500)
And apply a similar fix to the testsuite to avoid the use of
awk -f -, which does not work on AIX 7.2.

common
tests/general.at

diff --git a/common b/common
index 9060b3e8d2ac9296abb97f159895718cd233f3bc..b045c0c5e35a1558e6b77d99e0ed8ab86d6dc550 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 9060b3e8d2ac9296abb97f159895718cd233f3bc
+Subproject commit b045c0c5e35a1558e6b77d99e0ed8ab86d6dc550
index 7b34b9d45912ee360e88d8e57b82070df4fdf93a..f73f78114f99068b31092332499889005c03907f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2012, 2020-2021, 2023 Nick Bowler
+# Copyright © 2012, 2020-2021, 2023-2024 Nick Bowler
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -149,15 +149,13 @@ AT_CLEANUP
 
 AT_SETUP([cdecl99 invalid character error messages])
 
-$AWK -f - >test.dat <<'EOF'
-BEGIN {
+$AWK 'BEGIN {
   print "explain \1";
   print "explain \377";
   print "explain \a";
   print "explain \b";
   print "explain ?";
-}
-EOF
+}' >test.dat </dev/null
 
 AT_CHECK([LC_ALL=C cdecl99 -f test.dat || exit 42], [42], [], [stderr])
 AT_CHECK([$AWK '{ print $NF; }' stderr], [0],