* fixed thread_getlastpid()
* enable interrupts again in thread_sleep() to avoid getting stuck w/
disabled interrupts
[cpu lpc2387]
* added hwtimer as dependency for MCI driver
[project test_*]
* fixed some expect scripts
22 lines
283 B
Plaintext
Executable File
22 lines
283 B
Plaintext
Executable File
#!/usr/bin/expect
|
|
|
|
set timeout 2
|
|
|
|
spawn pseudoterm $env(PORT)
|
|
|
|
sleep 1
|
|
send "\n"
|
|
send "\n"
|
|
expect {
|
|
">" {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
send "some_definately_unknown_command\n"
|
|
expect {
|
|
"shell: command not found." {}
|
|
timeout { exit 1 }
|
|
}
|
|
|
|
puts "\nTest successful!\n"
|