mirror of
https://github.com/lupyuen/nuttx-riscv64.git
synced 2025-01-12 15:18:29 +08:00
Test with ps
and free
This commit is contained in:
parent
b8c12f9d04
commit
a74050ba71
5 changed files with 40 additions and 0 deletions
|
@ -24,6 +24,14 @@ send -s "uname -a\r"
|
|||
expect "nsh> "
|
||||
send -s "free\r"
|
||||
|
||||
## Wait for the prompt and enter `ps`
|
||||
expect "nsh> "
|
||||
send -s "ps\r"
|
||||
|
||||
## Wait for the prompt and enter `ls -l /dev`
|
||||
expect "nsh> "
|
||||
send -s "ls -l /dev\r"
|
||||
|
||||
## Wait for the prompt and enter `hello`
|
||||
expect "nsh> "
|
||||
send -s "hello\r"
|
||||
|
|
|
@ -23,6 +23,14 @@ send -s "uname -a\r"
|
|||
expect "nsh> "
|
||||
send -s "free\r"
|
||||
|
||||
## Wait for the prompt and enter `ps`
|
||||
expect "nsh> "
|
||||
send -s "ps\r"
|
||||
|
||||
## Wait for the prompt and enter `ls -l /dev`
|
||||
expect "nsh> "
|
||||
send -s "ls -l /dev\r"
|
||||
|
||||
## Wait for the prompt and enter `hello`
|
||||
expect "nsh> "
|
||||
send -s "hello\r"
|
||||
|
|
|
@ -24,6 +24,14 @@ send -s "uname -a\r"
|
|||
expect "nsh> "
|
||||
send -s "free\r"
|
||||
|
||||
## Wait for the prompt and enter `ps`
|
||||
expect "nsh> "
|
||||
send -s "ps\r"
|
||||
|
||||
## Wait for the prompt and enter `ls -l /dev`
|
||||
expect "nsh> "
|
||||
send -s "ls -l /dev\r"
|
||||
|
||||
## Wait for the prompt and enter `hello`
|
||||
expect "nsh> "
|
||||
send -s "hello\r"
|
||||
|
|
|
@ -24,6 +24,14 @@ send -s "uname -a\r"
|
|||
expect "nsh> "
|
||||
send -s "free\r"
|
||||
|
||||
## Wait for the prompt and enter `ps`
|
||||
expect "nsh> "
|
||||
send -s "ps\r"
|
||||
|
||||
## Wait for the prompt and enter `ls -l /dev`
|
||||
expect "nsh> "
|
||||
send -s "ls -l /dev\r"
|
||||
|
||||
## Wait for the prompt and enter `hello`
|
||||
expect "nsh> "
|
||||
send -s "hello\r"
|
||||
|
|
|
@ -24,6 +24,14 @@ send -s "uname -a\r"
|
|||
expect "nsh> "
|
||||
send -s "free\r"
|
||||
|
||||
## Wait for the prompt and enter `ps`
|
||||
expect "nsh> "
|
||||
send -s "ps\r"
|
||||
|
||||
## Wait for the prompt and enter `ls -l /dev`
|
||||
expect "nsh> "
|
||||
send -s "ls -l /dev\r"
|
||||
|
||||
## Wait for the prompt and enter `hello`
|
||||
expect "nsh> "
|
||||
send -s "hello\r"
|
||||
|
|
Loading…
Reference in a new issue