Skip to content

Commit

Permalink
ts/xtimer_usleep_short: fix test script line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Jul 4, 2019
1 parent 4f2e644 commit cf786ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/xtimer_usleep_short/tests/01-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@


def testfunc(child):
child.expect(u"This test will call xtimer_usleep for values from \\d+ down to \\d+\r\n")
child.expect(u"This test will call xtimer_usleep for values from \\d+ down to \\d+$")

i = 500

while (i >= 0):
try:
child.expect(u"going to sleep \\d+ usecs...\r\n", timeout=3)
child.expect(u"going to sleep \\d+ usecs...$", timeout=3)
except pexpect.TIMEOUT:
print("xtimer stuck when trying to sleep %d usecs" % (i+1))
print("[FAILED]")
Expand Down

0 comments on commit cf786ee

Please sign in to comment.