tests/riotboot: extend to accept slot 0 or 1
Modify the test to accept slot values 0 and 1.
This commit is contained in:
parent
e8660b2012
commit
8e5ac629e0
@ -11,9 +11,9 @@ from testrunner import run
|
|||||||
|
|
||||||
|
|
||||||
def testfunc(child):
|
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.sendline("curslotnr")
|
||||||
child.expect_exact("Current slot=0")
|
child.expect("Current slot=[0-1]")
|
||||||
child.expect('>')
|
child.expect('>')
|
||||||
|
|
||||||
# Ask for current slot header info and checks for basic output integrity
|
# Ask for current slot header info and checks for basic output integrity
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user