mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
30 lines
348 B
Plaintext
Executable File
30 lines
348 B
Plaintext
Executable File
#!/usr/bin/expect
|
|
|
|
set timeout 5
|
|
|
|
spawn board/msba2/tools/bin/pseudoterm $env(PORT)
|
|
exec jam reset
|
|
|
|
expect {
|
|
"OK" {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
expect {
|
|
"callback1" {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
expect {
|
|
"callback3" {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
expect {
|
|
"callback2" {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
puts "\nTest successful!\n"
|
|
|