* src/main.cc (testLoop): Return 1 iff an error occured. (main): Use testLoop's output as exit status.