diff --git a/tests/riotboot/tests/01-run.py b/tests/riotboot/tests/01-run.py index 07ececb93f0320eb88f75b274ecd2712efea8095..35c5b5d04da6b00448b9d858bde16008592a614c 100755 --- a/tests/riotboot/tests/01-run.py +++ b/tests/riotboot/tests/01-run.py @@ -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