mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-05 15:27:09 +00:00
tests/shell: wait for prompt at beginning
Previously, the test would start sending the first test commands right at the beginning. This fails on boards whose UART is not ready at that point. This PR makes the test script explicitly wait for the prompt to be ready.
This commit is contained in:
@@ -40,6 +40,7 @@ CONTROL_C = DLE+'\x03'
|
||||
CONTROL_D = DLE+'\x04'
|
||||
|
||||
CMDS = (
|
||||
(CONTROL_C, ('>')),
|
||||
('start_test', ('[TEST_START]')),
|
||||
('end_test', ('[TEST_END]')),
|
||||
('\n', ('>')),
|
||||
|
||||
Reference in New Issue
Block a user