Skip to content

Commit

Permalink
selftest: Test the AskfirstInitializer as well
Browse files Browse the repository at this point in the history
In the mocked board linux machine, also test the AskfirstInitializer
alongside LinuxBootLogin.

Signed-off-by: Harald Seiler <hws@denx.de>
  • Loading branch information
Rahix committed Aug 24, 2023
1 parent ec01ff1 commit 06b25cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selftest/testmachines.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ def _init_pre_connect(self) -> Iterator:
echo "Pretending to boot Linux..."
echo ""
echo "[0.0000] Welcome to the simulation."
read -p "Please press Enter to activate this console. GARBLE GARBLE"
read -p "login: "
read -s -p "password: "
echo ""
Expand Down Expand Up @@ -309,6 +310,7 @@ class MockhwBoardUBoot(

class MockhwBoardLinux(
board.LinuxUbootConnector,
board.AskfirstInitializer,
board.LinuxBootLogin,
linux.Bash,
tbot.role.Role,
Expand Down

0 comments on commit 06b25cd

Please sign in to comment.