pingpair_blocking test now uses expect and runs on linux
This commit is contained in:
11
tests/pingpair_blocking/test.ex
Executable file
11
tests/pingpair_blocking/test.ex
Executable 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"
|
||||
Reference in New Issue
Block a user