Commit 0c9266f6 authored by Tamas Ban's avatar Tamas Ban Committed by David Brown
Browse files

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: default avatarTamas Ban <tamas.ban@arm.com>
Signed-off-by: default avatarDavid Vincze <david.vincze@arm.com>
parent e32483f1
Loading
Loading
Loading
Loading
−5
Changes for sim/src/image.rs: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -828,11 +828,6 @@ impl Images {
            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");