diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-11-26 20:13:16 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-11-26 20:13:16 +0200 |
commit | 0d9a32b95e932fb47ddfb100056aa6fe527da595 (patch) | |
tree | dfb2a6e36029720a2c8ab91162ac3d5be3b8b715 | |
parent | 5dd46ec03bb3dc945d2f084726aaba79a83e6340 (diff) | |
download | egawk-0d9a32b95e932fb47ddfb100056aa6fe527da595.tar.gz egawk-0d9a32b95e932fb47ddfb100056aa6fe527da595.tar.bz2 egawk-0d9a32b95e932fb47ddfb100056aa6fe527da595.zip |
Fix test/Gentests.
-rw-r--r-- | test/ChangeLog | 4 | ||||
-rwxr-xr-x | test/Gentests | 2 |
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" } |