diff --git a/tools/cooja/contiki_tests/sky_ipv6_routing.csc b/tools/cooja/contiki_tests/sky_ipv6_routing.csc index 23848ee8d..1e24fcd31 100644 --- a/tools/cooja/contiki_tests/sky_ipv6_routing.csc +++ b/tools/cooja/contiki_tests/sky_ipv6_routing.csc @@ -60,7 +60,7 @@ se.sics.cooja.mspmote.interfaces.MspIPAddress - fe80.0000.0000.0000.0212.7501.0001.0101 + 0000.0000.0000.0000.0000.0000.0000.0000 se.sics.cooja.mspmote.interfaces.MspMoteID @@ -78,7 +78,7 @@ se.sics.cooja.mspmote.interfaces.MspIPAddress - fe80.0000.0000.0000.0212.7502.0002.0202 + 0000.0000.0000.0000.0000.0000.0000.0000 se.sics.cooja.mspmote.interfaces.MspMoteID @@ -96,7 +96,7 @@ se.sics.cooja.mspmote.interfaces.MspIPAddress - fe80.0000.0000.0000.0212.7503.0003.0303 + 0000.0000.0000.0000.0000.0000.0000.0000 se.sics.cooja.mspmote.interfaces.MspMoteID @@ -114,7 +114,7 @@ se.sics.cooja.mspmote.interfaces.MspIPAddress - fe80.0000.0000.0000.0212.7504.0004.0404 + 0000.0000.0000.0000.0000.0000.0000.0000 se.sics.cooja.mspmote.interfaces.MspMoteID @@ -132,7 +132,7 @@ se.sics.cooja.mspmote.interfaces.MspIPAddress - fe80.0000.0000.0000.0212.7505.0005.0505 + 0000.0000.0000.0000.0000.0000.0000.0000 se.sics.cooja.mspmote.interfaces.MspMoteID @@ -143,7 +143,7 @@ se.sics.cooja.plugins.SimControl 282 - 1 + 2 187 0 0 @@ -155,7 +155,7 @@ Radio environment (UDGM) 300 - 3 + 1 300 503 0 @@ -168,10 +168,10 @@ 256 1021 - 2 + 3 190 - -7 - 276 + -5 + 455 false diff --git a/tools/cooja/contiki_tests/sky_ipv6_routing.info b/tools/cooja/contiki_tests/sky_ipv6_routing.info new file mode 100644 index 000000000..d168f9dd0 --- /dev/null +++ b/tools/cooja/contiki_tests/sky_ipv6_routing.info @@ -0,0 +1 @@ +IPv6 multihop routing using Rime route discovery using 5 Sky nodes. Test success when client receives response from server. diff --git a/tools/cooja/contiki_tests/sky_ipv6_routing.js b/tools/cooja/contiki_tests/sky_ipv6_routing.js new file mode 100644 index 000000000..7e95567d8 --- /dev/null +++ b/tools/cooja/contiki_tests/sky_ipv6_routing.js @@ -0,0 +1,8 @@ +/* Make test automatically fail (timeout) after 100 simulated seconds */ +TIMEOUT(100000, log.log("last msg: " + msg + "\n")); /* print last msg at timeout */ + +log.log("waiting for server response at mote 2\n"); +WAIT_UNTIL(id == 2 && msg.startsWith("Response from the server")); + +log.log("ok, reporting success now\n"); +log.testOK(); /* Report test success and quit */