From b27c92af12307fc971d9e369eb809b78d3177cc8 Mon Sep 17 00:00:00 2001 From: Fredrik Osterlind Date: Tue, 29 May 2012 13:50:36 +0200 Subject: [PATCH] updated test: shell command echo no longer includes a newline -> updated expected final file size, improved debugging output --- .../contiki_tests/sky_shell_download.csc | 161 ++++++++++++------ 1 file changed, 105 insertions(+), 56 deletions(-) diff --git a/tools/cooja/contiki_tests/sky_shell_download.csc b/tools/cooja/contiki_tests/sky_shell_download.csc index 0365e92e2..83c22ce5f 100644 --- a/tools/cooja/contiki_tests/sky_shell_download.csc +++ b/tools/cooja/contiki_tests/sky_shell_download.csc @@ -1,11 +1,8 @@ - [CONTIKI_DIR]/tools/cooja/apps/mrm - [CONTIKI_DIR]/tools/cooja/apps/mspsim - [CONTIKI_DIR]/tools/cooja/apps/avrora My simulation - 0 + -2147483648 generated 1000000 @@ -21,24 +18,27 @@ se.sics.cooja.mspmote.SkyMoteType sky1 - Sky Mote Type #sky1 - [CONTIKI_DIR]/examples/sky-shell/sky-checkpoint.c - make clean TARGET=sky -make sky-checkpoint.sky TARGET=sky - [CONTIKI_DIR]/examples/sky-shell/sky-checkpoint.sky + Contiki shell with download command + [CONTIKI_DIR]/examples/sky-shell/sky-checkpoint.c + make sky-checkpoint.sky TARGET=sky + [CONTIKI_DIR]/examples/sky-shell/sky-checkpoint.sky se.sics.cooja.interfaces.Position + se.sics.cooja.interfaces.RimeAddress se.sics.cooja.interfaces.IPAddress se.sics.cooja.interfaces.Mote2MoteRelations + se.sics.cooja.interfaces.MoteAttributes se.sics.cooja.mspmote.interfaces.MspClock se.sics.cooja.mspmote.interfaces.MspMoteID se.sics.cooja.mspmote.interfaces.SkyButton se.sics.cooja.mspmote.interfaces.SkyFlash + se.sics.cooja.mspmote.interfaces.SkyCoffeeFilesystem se.sics.cooja.mspmote.interfaces.SkyByteRadio se.sics.cooja.mspmote.interfaces.MspSerial se.sics.cooja.mspmote.interfaces.SkyLED + se.sics.cooja.mspmote.interfaces.MspDebugOutput + se.sics.cooja.mspmote.interfaces.SkyTemperature - se.sics.cooja.mspmote.SkyMote se.sics.cooja.interfaces.Position @@ -50,10 +50,13 @@ make sky-checkpoint.sky TARGET=sky se.sics.cooja.mspmote.interfaces.MspMoteID 1 + + se.sics.cooja.mspmote.interfaces.MspSerial + l~;asd~;~K~;download 2.0 file25.txt | write file26.txt | null~;ls~;~K~;download 2.0 file25.txt | write file26.txt | null~;~K~;download 2.0 file25.txt | write file26.txt~;~K~;download 2.0 file25.txt | write file26.txt~;~K~;read file26.txt~;download 2.0 file25.txt | write file26.txt~;~K~;download 2.0 file25.txt | write file26.txt~;~K~;download 2.0 file25.txt | write file26.txt~;a~;~K~;download 2.0 file25.txt | write file26.txt~;~K~;download 2.0 file23.txt | write file26.txt~;download 2.0 file25.txt | write file26.txt~;~K~;download 2.0 file25.txt | write file26.txt~;download 2.0 file25.txt~;download 2.0 file27.txt~;ls~;read file30.txt~;read file30.txt 0 13~;read file30.txt 0 12~; + sky1 - se.sics.cooja.mspmote.SkyMote se.sics.cooja.interfaces.Position @@ -65,17 +68,20 @@ make sky-checkpoint.sky TARGET=sky se.sics.cooja.mspmote.interfaces.MspMoteID 2 + + se.sics.cooja.mspmote.interfaces.MspSerial + ls~;read file25.txt~; + sky1 se.sics.cooja.plugins.SimControl 268 - 5 + 2 201 0 1 - false se.sics.cooja.plugins.MoteInterfaceViewer @@ -85,11 +91,10 @@ make sky-checkpoint.sky TARGET=sky 0,0 378 - 2 - 485 + 1 + 361 2 201 - false se.sics.cooja.plugins.MoteInterfaceViewer @@ -100,10 +105,9 @@ make sky-checkpoint.sky TARGET=sky 395 3 - 486 + 361 379 201 - false se.sics.cooja.plugins.Visualizer @@ -113,37 +117,30 @@ make sky-checkpoint.sky TARGET=sky se.sics.cooja.plugins.skins.TrafficVisualizerSkin se.sics.cooja.plugins.skins.AddressVisualizerSkin se.sics.cooja.plugins.skins.LogVisualizerSkin - 10.082791180977951 0.0 0.0 10.082791180977951 266.248788516359 -780.5960558101059 + se.sics.cooja.plugins.skins.LEDVisualizerSkin + se.sics.cooja.plugins.skins.GridVisualizerSkin + 3.7763262850104686 0.0 0.0 3.7763262850104686 110.98456498740039 -253.59028307494597 - 505 - 1 + 221 + 7 200 269 1 - false se.sics.cooja.plugins.ScriptRunner - true - 729 + 506 0 - 811 + 689 774 - 1 - false + -1 se.sics.cooja.plugins.TimeLine 0 1 - - + 1 - 12 + 22313.016014842982 772 - 7 + 5 125 - 2 - 687 - false + 3 + 562 se.sics.cooja.plugins.LogListener + - 1503 + 1279 4 - 245 - 0 - 812 - false + 287 + 1 + 686 + + + PowerTracker + 287 + 6 + 199 + 490 + 2