a test for liminix-rebuild

it's hacky as Selby, but it's better than no test
This commit is contained in:
Daniel Barlow
2023-12-29 22:11:04 +00:00
parent ec1ff283da
commit 2152a3f207
6 changed files with 96 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
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 "#"