chiark / gitweb /
changelog: Document changes in 1.6.0 and finalise version number
[adns.git] / regress / Makefile.in
index 19266a248078170ee5d0e8d7686dc403961064e9..993c1af66e2fbda331aee965ac2bfc8d3665c43e 100644 (file)
@@ -65,6 +65,14 @@ checkfuzz:           $(TARGETS) \
 
 fuzzcat.d:     checkfuzz
                $(srcdir)/categorisefuzz $(ALL_TESTS)
+               perl -ne 'print $$1,"\n" while m/\"([^"% ]{2,})\"/g' \
+                       $(srcdir)/../src/*.[ch] $(srcdir)/../client/*.[ch] \
+               | sort -u >fuzzcat.d/dictionary
+               perl -p -e 'chomp;' \
+                       -e 's/[^0-9a-z-_]/sprintf "\\x%02x", ord $$&/ige;' \
+                       -e 's/^/l$$.="/; ' \
+                       -e 's/$$/"\n/;' \
+                       fuzzcat.d/dictionary >fuzzcat.d/dictionary.afl
 
 check-%:       case-%.sys
                @srcdir=$(srcdir) $(srcdir)/r1test $* || test $$? = 5