> * Write tests! libtap's tests are implemented by creating a set of reference test scripts using Test::More, capturing the output from those, and then making sure that the output from the same test implemented using libtap is the same (modulo changes in line numbers and filenames in the test output). You might be able to play similar games.
FWIW it also checks that the exit code from the test programs match. Feel free to use (and extend) this set of reference tests. You can see the tests at: http://jc.ngo.org.uk/trac-bin/trac.cgi/browser/nik/libtap/trunk/tests/ Information about downloading from my Subversion repo is at: http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/ObtainingTheSoftware N