aboutsummaryrefslogtreecommitdiff
path: root/testsuite/awk.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-xtestsuite/awk.tests7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests
index 0a84dc13e..afbde01c0 100755
--- a/testsuite/awk.tests
+++ b/testsuite/awk.tests
@@ -606,6 +606,13 @@ testing 'awk gensub backslashes \\0' \
606\\0|\\0 606\\0|\\0
607' '' '' 607' '' ''
608 608
609# References to empty (not provided in the input) fields in first versus subsequent lines
610testing 'awk references to empty fields' \
611 'awk '$sq'$2 != 0'$sq \
612 'a
613b
614' '' 'a\nb\n'
615
609# The "b" in "abc" should not match <b* pattern. 616# The "b" in "abc" should not match <b* pattern.
610# Currently we use REG_STARTEND ("This flag is a BSD extension, not present in POSIX") 617# Currently we use REG_STARTEND ("This flag is a BSD extension, not present in POSIX")
611# to implement the code to handle this correctly, but if your libc has no REG_STARTEND, 618# to implement the code to handle this correctly, but if your libc has no REG_STARTEND,