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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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