diff options
Diffstat (limited to 'testsuite/awk.tests')
-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 aa386361f..953a6e5e1 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests | |||
@@ -29,4 +29,11 @@ testing "awk 'gcc build bug'" \ | |||
29 | "" "" | 29 | "" "" |
30 | rm -rf awk_t1_* | 30 | rm -rf awk_t1_* |
31 | 31 | ||
32 | Q='":"' | ||
33 | |||
34 | testing "awk NF in BEGIN" \ | ||
35 | "awk 'BEGIN { print ${Q} NF ${Q} \$0 ${Q} \$1 ${Q} \$2 ${Q} }'" \ | ||
36 | ":0::::\n" \ | ||
37 | "" "" | ||
38 | |||
32 | exit $FAILCOUNT | 39 | exit $FAILCOUNT |