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

Co-authored-by: Domen Kožar <domen@enlambda.com>
This commit is contained in:
Patrick Hilhorst
2021-06-03 11:20:26 +02:00
committed by GitHub
parent 2871442731
commit fd739c4dee

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()