diff options
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-x | testsuite/awk.tests | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index bbf0fbff1..11beb1b10 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests | |||
@@ -485,4 +485,18 @@ testing 'awk assign while test' \ | |||
485 | "" \ | 485 | "" \ |
486 | "foo" | 486 | "foo" |
487 | 487 | ||
488 | optional PLATFORM_MINGW32 | ||
489 | testing 'awk match line ending' \ | ||
490 | "awk '/world$/'" \ | ||
491 | "world\n" \ | ||
492 | "" \ | ||
493 | "hello\r\nworld\r\n" | ||
494 | |||
495 | testing 'awk backslash+CRLF eaten with no trace' \ | ||
496 | "awk -f -" \ | ||
497 | "Hello world\n" \ | ||
498 | '' \ | ||
499 | 'BEGIN { printf "Hello\\\r\n world\\n" }\n' | ||
500 | SKIP= | ||
501 | |||
488 | exit $FAILCOUNT | 502 | exit $FAILCOUNT |