function post test
This function does some post-test operations for the test. This includes
retrieving the test logs, and cleaning up after the test by killing any outstanding processes and removing the test and log directories.
It is called after the test has finished (or when it has been interrupted,
by the test signal handler).
Here are some sample invocations:
Returns non-zero on error.
Located in scripts/functions.sh
FIXTHIS - 1.2 - needs documentation fixes