1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/msg_try_receive/tests/01-run.py
2019-11-22 11:47:49 +01:00

14 lines
240 B
Python
Executable File

#!/usr/bin/env python3
import sys
from testrunner import run
def testfunc(child):
child.expect_exact('main starting')
child.expect_exact('msg available: 1 (should be 1!)')
if __name__ == "__main__":
sys.exit(run(testfunc))