[39556] in Kerberos

home help back first fref pref prev next nref lref last post

Non-portable use of GNU awk in tests

daemon@ATHENA.MIT.EDU (Osipov, Michael \(IN IT IN\) via K)
Sat Sep 27 05:58:58 2025

Message-ID: <d5049a05-afe3-405b-99a2-d596016be840@innomotics.com>
Date: Sat, 27 Sep 2025 11:58:38 +0200
To: kerberos@mit.edu
Content-Language: en-US
MIME-Version: 1.0
From: "Osipov, Michael \(IN IT IN\) via Kerberos" <kerberos@mit.edu>
Reply-To: "Osipov, Michael \(IN IT IN\)" <michael.osipov@innomotics.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: kerberos-bounces@mit.edu

Hi folks,

while trying to run "gmake check" on HP-UX I noticed many awk issues. 
the HP awk is incapable of processing all requests. I have supplied 
AWK=gawk which did make it a bit better. As far as I can see $GAWK isn't 
use throughout src/tests/. This fixes it for me:
 > grep -r "awk '" . -l | xargs -I% sed -i "s#awk '#gawk '##" %
but I think think should either be solved by
 > AWK=gawk ./configure
or
 > AWK=gawk gmake check

Michael
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post