[PATCH] tests: Report all errors when failing to wait for a child process.