]> git.draconx.ca Git - cdecl99.git/commitdiff
Work around Solaris 8 nawk issue in the test suite.
authorNick Bowler <nbowler@draconx.ca>
Sat, 1 Jul 2023 19:28:15 +0000 (15:28 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sat, 1 Jul 2023 19:29:56 +0000 (15:29 -0400)
Apparently "nawk" on Solaris 8 does not understand -f- to mean "read
program from standard input", we must spell it as two arguments: -f -

tests/general.at

index 5141902a0db9a017d939a88416dfd50fe059a5f9..776c6191bcfee3499ebea7eaeb4dc214e3090aa8 100644 (file)
@@ -120,7 +120,7 @@ AT_CLEANUP
 
 AT_SETUP([cdecl99 invalid character error messages])
 
-$AWK -f- >test.dat </dev/null <<'EOF'
+$AWK -f - >test.dat <<'EOF'
 BEGIN {
   print "explain \1";
   print "explain \377";