aboutsummaryrefslogtreecommitdiff
path: root/testsuite/awk.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-xtestsuite/awk.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests
index 8ab1c6891..cdab93d21 100755
--- a/testsuite/awk.tests
+++ b/testsuite/awk.tests
@@ -547,4 +547,9 @@ testing 'awk does not split on CR (char 13)' \
547 'word1 word2 word3\r word2 word3\r\n' \ 547 'word1 word2 word3\r word2 word3\r\n' \
548 '' 'word1 word2 word3\r' 548 '' 'word1 word2 word3\r'
549 549
550testing "awk = has higher precedence than == (despite what gawk manpage claims)" \
551 "awk 'BEGIN { v=1; print 2==v; print 2==v=2; print v; print v=3==3; print v}'" \
552 '0\n1\n2\n1\n3\n' \
553 '' ''
554
550exit $FAILCOUNT 555exit $FAILCOUNT