diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/awk.tests | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index aa38636..953a6e5 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests @@ -29,4 +29,11 @@ testing "awk 'gcc build bug'" \ "" "" rm -rf awk_t1_* +Q='":"' + +testing "awk NF in BEGIN" \ + "awk 'BEGIN { print ${Q} NF ${Q} \$0 ${Q} \$1 ${Q} \$2 ${Q} }'" \ + ":0::::\n" \ + "" "" + exit $FAILCOUNT |