mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-23 00:16:17 +04:00
17 lines
251 B
Plaintext
17 lines
251 B
Plaintext
set timeout -1
|
|
set send_slow {1 .1}
|
|
proc send {ignore arg} {
|
|
sleep .1
|
|
exp_send -s -- $arg
|
|
}
|
|
|
|
cd ../kernel
|
|
spawn make run arch=x86_64
|
|
sleep 2
|
|
expect ">>"
|
|
sleep 2
|
|
send -- "biscuit/killtest\r"
|
|
sleep 2
|
|
expect "success"
|
|
send -- "busybox halt -f\r"
|