Skip to content
Permalink
Browse files

Merge pull request #72947 from tfc/boot-test-port-fix

Boot test port fix
  • Loading branch information
worldofpeace committed Nov 7, 2019
2 parents 5f6f75f + 52ee102 commit 6ed6d1af6a02ec8307994e3c0bb247f1755d35b8
Showing with 2 additions and 2 deletions.
  1. +2 −2 nixos/lib/test-driver/test-driver.py
@@ -601,7 +601,7 @@ def create_socket(path):
stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
shell=False,
shell=True,
cwd=self.state_dir,
env=environment,
)
@@ -610,7 +610,7 @@ def create_socket(path):

def process_serial_output():
for line in self.process.stdout:
line = line.decode().replace("\r", "").rstrip()
line = line.decode("unicode_escape").replace("\r", "").rstrip()
eprint("{} # {}".format(self.name, line))
self.logger.enqueue({"msg": line, "machine": self.name})

0 comments on commit 6ed6d1a

Please sign in to comment.
You can’t perform that action at this time.