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:
parent
5ed752dd35
commit
9452c8fb4b
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user