pingpair_blocking test now uses expect and runs on linux

This commit is contained in:
maniacbug
2012-01-15 22:07:13 -08:00
parent c2e9564678
commit dec61af85f
6 changed files with 175 additions and 148 deletions

View File

@@ -1,9 +1,5 @@
#!/bin/sh
# Connect p6 to receiver, p4 to sender
# Connect u0 to receiver, u1 to sender
jam p4 p6 || exit 1
./runtest.py /dev/tty.usbserial-A600eHIs 1 &
./runtest.py /dev/tty.usbserial-A40081RP 1 || ( kill `jobs -p` && exit 1 )
kill `jobs -p`
exit 0
jam u0 u1 && expect test.ex