From 7c035f3846b572d1dee76fdb6957f23864c19bc8 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 5 Dec 2023 00:37:35 -0500 Subject: [PATCH] tests: Avoid using awk -v option. Traditional awk implementations do not support -v, and this is also the case with ULTRIX 4.5 nawk. The tests that use -v don't actually need to use it, so it doesn't hurt to fix this. --- tests/general.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/general.at b/tests/general.at index 21261ed..fb4ee68 100644 --- a/tests/general.at +++ b/tests/general.at @@ -115,7 +115,7 @@ END { exit(status); } ]]) AT_CHECK([LC_ALL=C cdecl99 --file=input || exit 42], [42], [], [stderr]) -AT_CHECK([$AWK -v progname="$progname" -f check.awk stderr]) +AT_CHECK([$AWK -f check.awk progname="$progname" stderr]) exec 3