testsuite: allow to check generated files
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 4 Oct 2012 03:21:52 +0000 (00:21 -0300)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 4 Oct 2012 04:04:52 +0000 (01:04 -0300)
commit3e451bfefbe1cb481fe9263a64e00926ebfaa229
treedf7e23f1601ae8a3333455899dc44875f1a40018
parent88c247f7f18ac25181ddcaff97fbbecbd3a29f57
testsuite: allow to check generated files

This gives the test cases the ability to supply files that must be
checked after the test is run, rather than just checking stdout/stderr.

This is intended to be used with tools that generate files, like depmod.
It includes a poor's man implementation of a "check for differences in
files". Not really optimized, but it's simple enough and does what it
proposes to.
testsuite/testsuite.c
testsuite/testsuite.h