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

tests/riotboot: extend to accept slot 0 or 1

Modify the test to accept slot values 0 and 1.
This commit is contained in:
Francisco Acosta 2018-10-19 23:53:59 +02:00 committed by Francisco Acosta
parent e8660b2012
commit 8e5ac629e0

View File

@ -11,9 +11,9 @@ from testrunner import run
def testfunc(child):
# Ask for current slot, should be 0 (riotboot slot)
# Ask for current slot, should be 0 or 1
child.sendline("curslotnr")
child.expect_exact("Current slot=0")
child.expect("Current slot=[0-1]")
child.expect('>')
# Ask for current slot header info and checks for basic output integrity