From 70c0c0cd7ee713ac90905641fd5a91383151b7f2 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 3 Mar 2009 12:21:06 +0000 Subject: [PATCH] exclude duplicate received nodes in runicast test --- tools/cooja/contiki_tests/rime_runicast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cooja/contiki_tests/rime_runicast.js b/tools/cooja/contiki_tests/rime_runicast.js index d8a8a9fd9..3221bb5cd 100644 --- a/tools/cooja/contiki_tests/rime_runicast.js +++ b/tools/cooja/contiki_tests/rime_runicast.js @@ -7,7 +7,7 @@ nr_sent = 0; while (nr_sent < 10) { /* Count received packets */ -if (msg.contains('received')) { +if (msg.contains('received') && !msg.contains('DUPLICATE')) { nr_recv++; log.log("RECV=" + nr_recv + ", sent=" + nr_sent + ", timedout=" + nr_timedout + "\n"); }