mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
21 lines
285 B
Plaintext
Executable File
21 lines
285 B
Plaintext
Executable File
#!/usr/bin/expect
|
|
|
|
set timeout 1
|
|
|
|
spawn board/msba2/tools/bin/pseudoterm $env(PORT)
|
|
|
|
sleep 1
|
|
|
|
expect {
|
|
">$" {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
send "some_definately_unknown_command\n"
|
|
expect {
|
|
"shell: command not found." {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
puts "\nTest successful!\n"
|