Fix testall always succeeding, even when there are failed tests.

We trap EXIT, so make sure we keep the return code.