sim: Remove copy_done check from revert_with_fails test
In case of multi image boot this check fails, because
copy_done flag set per images when an image swap has finished.
When second image update is interrupted then copy_done flag
already has set for first image.
Change-Id: Ic97dd5e4c5cdb5a5a94971f3ca84bfe0d7583dd4
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
Signed-off-by: David Vincze <david.vincze@arm.com>
diff --git a/sim/src/image.rs b/sim/src/image.rs
index b5a68dd..564e331 100644
--- a/sim/src/image.rs
+++ b/sim/src/image.rs
@@ -828,11 +828,6 @@
fails += 1;
}
- if !self.verify_trailers(&flash, 0, None, None, BOOT_FLAG_UNSET) {
- warn!("copy_done should be unset");
- fails += 1;
- }
-
let (x, _) = c::boot_go(&mut flash, &self.areadesc, None, false);
if x != 0 {
warn!("Should have finished test upgrade");