liminix/tests/jffs2/script.expect

10 lines
173 B
Text
Raw Permalink Normal View History

2023-04-06 21:58:26 +02:00
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