Skip to content
Snippets Groups Projects
Commit 8e5ac629 authored by Francisco Acosta's avatar Francisco Acosta Committed by Francisco Acosta
Browse files

tests/riotboot: extend to accept slot 0 or 1

Modify the test to accept slot values 0 and 1.
parent e8660b20
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment