diff --git a/tools/cooja/contiki_tests/sky_shell_exec_serial.csc b/tools/cooja/contiki_tests/sky_shell_exec_serial.csc index 65d5700a4..964c97333 100644 --- a/tools/cooja/contiki_tests/sky_shell_exec_serial.csc +++ b/tools/cooja/contiki_tests/sky_shell_exec_serial.csc @@ -1,9 +1,8 @@ - ../apps/mrm - ../apps/mspsim - ../apps/avrora - ../apps/native_gateway + [CONTIKI_DIR]/tools/cooja/apps/mrm + [CONTIKI_DIR]/tools/cooja/apps/mspsim + [CONTIKI_DIR]/tools/cooja/apps/avrora My simulation 0 @@ -16,11 +15,14 @@ 1.0 1.0 + + 40000 + se.sics.cooja.mspmote.SkyMoteType sky1 Sky Mote Type #sky1 - ../../../examples/sky-shell-exec/sky-shell-exec.c + [CONTIKI_DIR]/examples/sky-shell-exec/sky-shell-exec.c echo CLEANING make clean TARGET=sky @@ -33,7 +35,7 @@ make sky-shell-exec.sky CORE=sky-shell-exec.sky TARGET=sky make sky-shell-exec.sky CORE=sky-shell-exec.sky TARGET=sky make sky-shell-exec.sky CORE=sky-shell-exec.sky TARGET=sky make sky-shell-exec.sky CORE=sky-shell-exec.sky TARGET=sky - ../../../examples/sky-shell-exec/sky-shell-exec.sky + [CONTIKI_DIR]/examples/sky-shell-exec/sky-shell-exec.sky se.sics.cooja.interfaces.Position se.sics.cooja.interfaces.IPAddress se.sics.cooja.interfaces.Mote2MoteRelations @@ -121,7 +123,7 @@ sb = new java.lang.StringBuilder(); process = new java.lang.Runtime.getRuntime().exec(cmdarr, null, helloworld.getParentFile()); stdIn = new java.io.BufferedReader(new java.io.InputStreamReader(process.getInputStream())); while ((line = stdIn.readLine()) != null) { - write(mote, line + "\n"); + write(mote, line); sb.append(line); YIELD();