diff --git a/regression-tests/08-collect/01-sky-shell-collect.csc b/regression-tests/08-collect/01-sky-shell-collect.csc index b2f277514..32694c103 100644 --- a/regression-tests/08-collect/01-sky-shell-collect.csc +++ b/regression-tests/08-collect/01-sky-shell-collect.csc @@ -33,7 +33,7 @@ se.sics.cooja.mspmote.interfaces.MspMoteID se.sics.cooja.mspmote.interfaces.SkyButton se.sics.cooja.mspmote.interfaces.SkyFlash - se.sics.cooja.mspmote.interfaces.SkyByteRadio + se.sics.cooja.mspmote.interfaces.Msp802154Radio se.sics.cooja.mspmote.interfaces.MspSerial se.sics.cooja.mspmote.interfaces.SkyLED @@ -371,7 +371,7 @@ total_latency = 0; nodes_starting = true; for(i = 1; i <= nrNodes; i++) { booted[i] = false; - received[i] = "__________"; + received[i] = "___________"; hops[i] = received[i]; } @@ -404,7 +404,7 @@ GENERATE_MSG(20000, "continue"); YIELD_THEN_WAIT_UNTIL(msg.equals("continue")); node = sink_node; log.log("Writing netcmd\n"); -node.write("netcmd { repeat 10 30 { randwait 30 collect-view-data | blink | send } }"); +node.write("netcmd { repeat 11 30 { randwait 30 collect-view-data | blink | send } }"); while(true) { YIELD(); @@ -471,7 +471,7 @@ while(true) { num_reported = 0; for(i = 1; i <= nrNodes; i++) { if(i != sink) { - if(!isNaN(received[i])) { + if(received[i].split("_").length -1 <= 1) { num_reported++; } }