liminix/tests/ext4/script.expect

10 lines
173 B
Text
Raw Normal View History

2023-11-06 22:52:31 +01: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