mirror of
https://github.com/lupyuen/nuttx-ox64.git
synced 2025-01-12 20:58:31 +08:00
Create expect.sh
This commit is contained in:
parent
675f332971
commit
c14a7cd589
1 changed files with 11 additions and 0 deletions
11
expect.sh
Normal file
11
expect.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/expect
|
||||
set send_slow {1 0.001}
|
||||
spawn ./temu root-riscv64.cfg
|
||||
|
||||
expect "nsh> "
|
||||
send -s "uname -a\r"
|
||||
|
||||
expect "nsh> "
|
||||
send -s "ostest\r"
|
||||
expect "ostest_main: Exiting with status -1"
|
||||
expect "nsh> "
|
Loading…
Reference in a new issue