mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 19:07:54 +01:00
login to test vm
This commit is contained in:
parent
3f688637f5
commit
cb5f9058fa
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build-and-test.yml
vendored
3
.github/workflows/build-and-test.yml
vendored
|
|
@ -172,4 +172,7 @@ jobs:
|
|||
timeout 1m bash -c "while ! (echo > /dev/tcp/127.0.0.1/4321); do sleep 0.1; done"
|
||||
(nc localhost 4321 | tee vm.stdout) &
|
||||
timeout 30m bash -c "while ! (grep 'login:' vm.stdout); do sleep 1; done"
|
||||
timeout 1m bash -c 'echo "core" | nc localhost 4321'
|
||||
timeout 30m bash -c "while ! (grep -i 'password:' vm.stdout); do sleep 1; done"
|
||||
timeout 1m bash -c 'echo "foobar" | nc localhost 4321'
|
||||
echo "VM ready for tests"
|
||||
Loading…
Add table
Add a link
Reference in a new issue