aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-10-01 10:19:35 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-10-01 10:19:35 +0300
commit00d8cf5ca447dc385a869621e97d67b3f3bca80a (patch)
tree795f0008c34cb148166c36cc76f184891f2a2343 /test
parent495723fa5d2c0512987f7b8f33260f0c63660fd5 (diff)
parent99a610a84bb5f25e8105f65d928a772da3a66d5f (diff)
downloadegawk-00d8cf5ca447dc385a869621e97d67b3f3bca80a.tar.gz
egawk-00d8cf5ca447dc385a869621e97d67b3f3bca80a.tar.bz2
egawk-00d8cf5ca447dc385a869621e97d67b3f3bca80a.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog4
-rw-r--r--test/ordchr.awk1
-rw-r--r--test/ordchr.ok1
3 files changed, 6 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index f84c8eb8..98b5622a 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2021-09-27 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
+ * ordchr.awk, ordchr.awk: Add test for ord signedness.
+
2021-09-19 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (EXTRA_DIST): Remove commas.in from the list.
diff --git a/test/ordchr.awk b/test/ordchr.awk
index 0295105e..5d6ffe9f 100644
--- a/test/ordchr.awk
+++ b/test/ordchr.awk
@@ -7,4 +7,5 @@ BEGIN {
# test if type conversion between strings and numbers is working properly
print chr(ord(0))
print ord(chr("65"))
+ print ord(chr("159"))
}
diff --git a/test/ordchr.ok b/test/ordchr.ok
index 86d901e9..be3997c6 100644
--- a/test/ordchr.ok
+++ b/test/ordchr.ok
@@ -3,3 +3,4 @@ A
65
0
65
+159