1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/suit_update/tests: use current version as invalid one

If the current version was 0 then previously an invalid <0 seq_no
would be used.
This commit is contained in:
Francisco Molina 2022-04-21 10:56:32 +02:00
parent c31d0e102d
commit 01196b99b7

View File

@ -143,8 +143,8 @@ def running_slot(child):
def _test_invalid_version(child, client, app_ver):
publish(TMPDIR.name, COAP_HOST, app_ver - 1)
notify(COAP_HOST, client, app_ver - 1)
publish(TMPDIR.name, COAP_HOST, app_ver)
notify(COAP_HOST, client, app_ver)
child.expect_exact("suit_coap: trigger received")
child.expect_exact("suit: verifying manifest signature")
child.expect_exact("seq_nr <= running image")