aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2022-03-30 10:21:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2022-03-30 10:21:23 +0300
commitdd56636139102f26aa6e2a69ceeeca4d0dcbdb94 (patch)
treedc1939e29bb506a756745667a9e278c790f216ea
parentc2f6af30f602aa1a28e59491cbbfcf9145350f78 (diff)
parent7419129f87d8c2efaca2a19e1322df431bc9bcbc (diff)
downloadegawk-dd56636139102f26aa6e2a69ceeeca4d0dcbdb94.tar.gz
egawk-dd56636139102f26aa6e2a69ceeeca4d0dcbdb94.tar.bz2
egawk-dd56636139102f26aa6e2a69ceeeca4d0dcbdb94.zip
Merge branch 'gawk-5.1-stable'
-rw-r--r--test/ChangeLog4
-rw-r--r--test/delarpm2.awk7
-rw-r--r--test/delarpm2.ok4
3 files changed, 12 insertions, 3 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 51aad696..f76e4c85 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-30 Arnold D. Robbins <arnold@skeeve.com>
+
+ * delarprm2.awk, delarprm2.ok: Changes to make test more helpful.
+
2022-03-27 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (EXTRA_DIST): indirectcall3, new test.
diff --git a/test/delarpm2.awk b/test/delarpm2.awk
index ad0ed3df..5454ac3f 100644
--- a/test/delarpm2.awk
+++ b/test/delarpm2.awk
@@ -49,8 +49,13 @@
BEGIN {
clear_array(table)
foo(table)
+ # 3/2022: This was the original. Use of 'k' in the print was
+ # undoubtedly a typo but it helped find a bug, so let's
+ # make it for real
+ # for (key in table)
+ # print key, table[k]
for (key in table)
- print key, table[k]
+ print key, table[key], "<" table[k] ">"
clear_array(table)
exit(0)
}
diff --git a/test/delarpm2.ok b/test/delarpm2.ok
index bea5b8a4..2136aa4e 100644
--- a/test/delarpm2.ok
+++ b/test/delarpm2.ok
@@ -1,2 +1,2 @@
-1
-2
+1 one <>
+2 two <>