Preserve package adapter JSON stream and accept serial CRCRLF diagnostics
This commit is contained in:
parent
51d367d226
commit
9f4ed077c4
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ journalctl -u archipelagod.service -n 80 --no-pager
|
|||
child.expect(r"coretest@.*[\$] ", timeout=30)
|
||||
child.sendline("sudo /bin/bash -c " + shlex.quote(diagnostic) +
|
||||
"; printf '\\n__ARCHIPELAGO_DIAGNOSTICS_DONE__\\n'")
|
||||
child.expect(r"\r?\n__ARCHIPELAGO_DIAGNOSTICS_DONE__\r?\n", timeout=120)
|
||||
child.expect(r"\r*\n__ARCHIPELAGO_DIAGNOSTICS_DONE__\r*\n", timeout=120)
|
||||
except (pexpect.TIMEOUT, pexpect.EOF) as diagnostic_error:
|
||||
event("diagnostics-incomplete", error=str(diagnostic_error))
|
||||
raise RuntimeError(f"Guest command failed ({code}): {text}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue