signer: Verify many Android signer operations that content is unchanged.

This adds extra verifications to many Android signer operation in order
to narrow down the problem when empty folders are removed from the disk.

BUG=chromium:1154734
TEST=Locally image signing passed. Emulated problem and it was detected.

BRANCH=none
Signed-off-by: Yury Khmel <khmel@google.com>
Change-Id: If8bb9fced290117766bfa9ff76a25fc86ed263dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2572240
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed