liminix-fork/tests/jffs2/script.expect
Daniel Barlow a0bd250963 switch from getty to root shell on console
this just makes things marginally simpler
2023-11-21 23:09:48 +00:00

10 lines
No EOL
173 B
Text

set timeout 10
spawn socat unix-connect:vm/console -
send "\r\n"
expect "#"
send "echo HELLO WORLD > /hello\r\n"
expect "#"
send "cat /hello\r\n"
expect 'HELLO WORLD'
close