If test/checkpoint detects an error, exit with a non-zero status, to simplify scripting of the test.

refs #969