tests: do not overwrite 'errlist' on hard exit