nixos/tests/test-driver: make it clear when shell is ready

Co-authored-by: Domen Kožar <domen@enlambda.com>
(cherry picked from commit fd739c4dee12fbe57199f73c44ec22db2355028e)
This commit is contained in:
Patrick Hilhorst 2021-06-03 11:20:26 +02:00 committed by github-actions[bot]
parent 5ed752dd35
commit 9452c8fb4b

View File

@ -461,6 +461,7 @@ class Machine:
Should only be used during test development, not in the production test.""" Should only be used during test development, not in the production test."""
self.connect() self.connect()
self.log("Terminal is ready (there is no prompt):")
telnet = telnetlib.Telnet() telnet = telnetlib.Telnet()
telnet.sock = self.shell # type: ignore telnet.sock = self.shell # type: ignore
telnet.interact() telnet.interact()