diff options
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-x | testsuite/awk.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index adab4ae1e..82937bc10 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests | |||
@@ -316,6 +316,9 @@ testing "awk continue" \ | |||
316 | "" \ | 316 | "" \ |
317 | 'BEGIN { if (1) continue; else a = 1 }' | 317 | 'BEGIN { if (1) continue; else a = 1 }' |
318 | 318 | ||
319 | testing "awk handles invalid for loop" \ | ||
320 | "awk '{ for() }' 2>&1" "awk: cmd. line:1: Unexpected token\n" "" "" | ||
321 | |||
319 | # testing "description" "command" "result" "infile" "stdin" | 322 | # testing "description" "command" "result" "infile" "stdin" |
320 | 323 | ||
321 | exit $FAILCOUNT | 324 | exit $FAILCOUNT |