burnin: fix removal errors hiding real errors
authorIustin Pop <iustin@google.com>
Sun, 19 Jul 2009 18:34:08 +0000 (20:34 +0200)
committerIustin Pop <iustin@google.com>
Sun, 19 Jul 2009 21:47:01 +0000 (23:47 +0200)
commit8629a5432e0d089b3b47df1381fe05a66c6ed981
tree57b0ddb340e5ebeb02864e6a5d4793b102e88ef9
parent360b0dc2ef100c06f47358cc38e8da714742a614
burnin: fix removal errors hiding real errors

A long-standing bug in burnin makes errors during the removal phase
(e.g. because an import has failed, or because the initial creation has
failed) hide the original error.

This patch suppresses removal errors if we are already in ‘has_err’
mode, and otherwise it displays them normally.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
tools/burnin