mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-20 10:35:34 +00:00
16 lines
370 B
JavaScript
16 lines
370 B
JavaScript
TIMEOUT(2000, log.log("last message: " + msg + "\n"));
|
|
|
|
/* Wait until node has booted */
|
|
WAIT_UNTIL(msg.startsWith('Starting'));
|
|
log.log("Shell started\n");
|
|
|
|
/* Test command: ps */
|
|
node.write("ps");
|
|
WAIT_UNTIL(msg.startsWith('Event timer'));
|
|
|
|
/* Test command: help */
|
|
node.write("help");
|
|
WAIT_UNTIL(msg.startsWith('write <filename>'));
|
|
|
|
log.testOK(); /* We are done! */
|