From 94635e8cc50843db3603971d9c8978f1942a2d5e Mon Sep 17 00:00:00 2001 From: maniacbug Date: Sun, 15 Jan 2012 23:35:07 -0800 Subject: [PATCH] runtests now hups between each test instead of uploading --- tests/pingpair_test/runtests.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/pingpair_test/runtests.sh b/tests/pingpair_test/runtests.sh index 53360c3..3416f86 100755 --- a/tests/pingpair_test/runtests.sh +++ b/tests/pingpair_test/runtests.sh @@ -4,5 +4,9 @@ # WARNING: Test config 2 only works with PLUS units. jam u0 u1 && expect test.ex 1 -jam u0 u1 && expect test.ex 2 -jam u0 u1 && expect test.ex 3 +stty 57600 raw ignbrk hup < /dev/ttyUSB0 && sleep 1 +stty 57600 raw ignbrk hup < /dev/ttyUSB1 && sleep 1 +expect test.ex 2 +stty 57600 raw ignbrk hup < /dev/ttyUSB0 && sleep 1 +stty 57600 raw ignbrk hup < /dev/ttyUSB1 && sleep 1 +expect test.ex 3