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

11
tests/pingpair_blocking/test.ex Executable file
View File

@@ -0,0 +1,11 @@
#/usr/bin/expect
set timeout 100
spawn picocom -b 57600 /dev/ttyUSB0
expect "+READY"
send "1"
expect "+OK"
spawn picocom -b 57600 /dev/ttyUSB1
expect "+READY"
send "1"
expect "+OK"