liminix/tests/min-copy-closure/wait-for-reboot.expect
Daniel Barlow 2152a3f207 a test for liminix-rebuild
it's hacky as Selby, but it's better than no test
2023-12-29 22:11:04 +00:00

18 lines
No EOL
304 B
Text

set timeout 60
spawn socat unix-connect:vm/console -
expect {
"s6-svscan exited" { }
timeout { exit 1 }
}
expect {
"s6-linux-init" { send "\r\n" };
"# " { send "\r\n" };
}
expect {
"# " { send "echo \$PATH; md5sum /persist/activate; figlet Yes\r\n" };
}
expect "#"