Don't wait for a specific packet (which may not arrive) - instead, wait for any packet to arrive.

This commit is contained in:
Adam Dunkels 2013-10-05 18:04:08 +02:00 committed by George Oikonomou
parent 925f98728f
commit 38a0c867f2
2 changed files with 2 additions and 2 deletions

View file

@ -352,7 +352,7 @@
<plugin_config>
<script>TIMEOUT(300000);&#xD;
&#xD;
WAIT_UNTIL(msg.equals("In: [0x00000063], TTL 54, total 97"));&#xD;
WAIT_UNTIL(msg.startsWith("In: "));&#xD;
&#xD;
log.testOK(); /* Report test success and quit */</script>
<active>true</active>

View file

@ -692,7 +692,7 @@
<plugin_config>
<script>TIMEOUT(300000);&#xD;
&#xD;
WAIT_UNTIL(msg.startsWith("In: [0x00000063]"));&#xD;
WAIT_UNTIL(msg.startsWith("In: "));&#xD;
&#xD;
log.testOK(); /* Report test success and quit */</script>
<active>true</active>