aboutsummaryrefslogtreecommitdiffstats
path: root/test/Gentests
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-12-07 22:38:40 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-12-07 22:38:40 +0200
commit2ea264adbbefc2337b766f06d1ceb38cd798915b (patch)
tree3a898fb49982ca6edc6a315362c1aa7f5ff4fc8a /test/Gentests
parent86643fa35036db1f40ce61da6358da455abe3c3b (diff)
downloadegawk-2ea264adbbefc2337b766f06d1ceb38cd798915b.tar.gz
egawk-2ea264adbbefc2337b766f06d1ceb38cd798915b.tar.bz2
egawk-2ea264adbbefc2337b766f06d1ceb38cd798915b.zip
Clean up sprintf return type. Add tests for pgawk.
Diffstat (limited to 'test/Gentests')
-rwxr-xr-xtest/Gentests6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Gentests b/test/Gentests
index b4d62f41..fc779f00 100755
--- a/test/Gentests
+++ b/test/Gentests
@@ -17,8 +17,8 @@ BEGIN {
# process the file Makefile.am:
-/^[A-Z_]*_TESTS *=/,/[^\\]$/ {
- gsub(/(^[A-Z_]*_TESTS *=|\\$)/,"")
+/^[[:upper:]_]*_TESTS *=/,/[^\\]$/ {
+ gsub(/(^[[:upper:]_]*_TESTS *=|\\$)/,"")
for (i = 1; i <= NF; i++)
tests[++ntests] = $i
next
@@ -45,7 +45,7 @@ BEGIN {
next
}
-/^[a-zA-Z_][a-zA-Z0-9_]*:/ {
+/^[[:alpha:]_][[:alnum:]_]*:/ {
# remember all targets from Makefile.am
sub(/:.*/,"")
targets[$0]