Create a cheater to test strange save/resume cases.

Patch due to Aaron Traas, but needed modification because of code
drift since submission.
This commit is contained in:
Eric S. Raymond 2017-06-26 15:03:37 -04:00
parent 5581175840
commit d6cb6f0d8d
10 changed files with 124 additions and 10 deletions

View file

@ -37,6 +37,8 @@ buildregress:
done; \
rm -f scratch.tmp
regress:
$(ECHO) -n "Generate cheat file: "
../cheat
@for file in $(TESTLOADS); do \
$(ECHO) -n " $${file} "; grep '##' $${file}.log || echo ' ## (no description)'; \
OPTS=`sed -n /#options:/s///p <$${file}.log`; \