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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user