axcxl / overwatcher

Ultra-lightweight automated testing framework for CLIs.
MIT License
0 stars 0 forks source link

New modifier needed: NO_WAITPROMPT? #13

Closed axcxl closed 6 years ago

axcxl commented 6 years ago

After testing a Beaglebone Black with Linux, found the following situation: when issuing the reboot, there is no prompt after and no extra stuff.

The problem is that the reboot action is waiting for a prompt. On serial, we can just add a text after as a prompt, or set the ignore_states before, but if we want to use the test over telnet, then it might have problems.

This needs some further investigation.

axcxl commented 6 years ago

Testing with the following new modifiers: NOTSTRICT - ignore state even if strictStates is set (has to be the first parameter in a trigger) NOPRWAIT - following commands in action are sent without any prompt wait.

First results look ok

axcxl commented 6 years ago

Tested, merged, ok.