summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-11-26 20:13:16 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-11-26 20:13:16 +0200
commit0d9a32b95e932fb47ddfb100056aa6fe527da595 (patch)
treedfb2a6e36029720a2c8ab91162ac3d5be3b8b715
parent5dd46ec03bb3dc945d2f084726aaba79a83e6340 (diff)
downloadgawk-0d9a32b95e932fb47ddfb100056aa6fe527da595.tar.gz
Fix test/Gentests.
-rw-r--r--test/ChangeLog4
-rwxr-xr-xtest/Gentests2
2 files changed, 5 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 854c1379..a8d12fd7 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,9 @@
2014-11-26 Arnold D. Robbins <arnold@skeeve.com>
+ * Gentests: Fix gensub call after adding warning.
+
+2014-11-26 Arnold D. Robbins <arnold@skeeve.com>
+
* gensub2.ok: Update after code changes.
2014-11-16 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/test/Gentests b/test/Gentests
index 460edbae..5a7aaa09 100755
--- a/test/Gentests
+++ b/test/Gentests
@@ -123,7 +123,7 @@ END {
printf "WARNING: --lint-old target `%s' is missing.\n", x > "/dev/stderr"
for (x in files)
if (!(x in unused) && \
- !(gensub(/\.(awk|in)$/,"","",x) in targets))
+ !(gensub(/\.(awk|in)$/,"",1,x) in targets))
printf "WARNING: unused file `%s'.\n", x > "/dev/stderr"
}