From: Nick Bowler Date: Tue, 5 Dec 2023 05:37:35 +0000 (-0500) Subject: tests: Avoid using awk -v option. X-Git-Tag: v1.3~68 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/7c035f3846b572d1dee76fdb6957f23864c19bc8 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. --- 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