Make test.sh return an error code on failure.