Skip to content

Commit 0c9266f

Browse files
tamasband3zd3z
authored andcommitted
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 <[email protected]> Signed-off-by: David Vincze <[email protected]>
1 parent e32483f commit 0c9266f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sim/src/image.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -828,11 +828,6 @@ impl Images {
828828
fails += 1;
829829
}
830830

831-
if !self.verify_trailers(&flash, 0, None, None, BOOT_FLAG_UNSET) {
832-
warn!("copy_done should be unset");
833-
fails += 1;
834-
}
835-
836831
let (x, _) = c::boot_go(&mut flash, &self.areadesc, None, false);
837832
if x != 0 {
838833
warn!("Should have finished test upgrade");

0 commit comments

Comments
 (0)