[testrunner] send newline before waiting for serial console cursor

I believe that previous to this change, every time the
runSerialDiagnostics() function has been called it's gotten stuck in
newSerialSocket because the system already booted and printed a
serial cursor long ago. Whereas the serial tester only calls
newSerialSocket when the system has not yet finished booting, the
SSH tester may call it at any point. To address this, have
newSerialSocket send a new line to trigger a new console cursor.

Bug: 60808
Change-Id: I6a7dd477f1c682c303e6aa921a201f936daf5b32
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/435017
Reviewed-by: Ina Huh <ihuh@google.com>
Testability-Review: Ina Huh <ihuh@google.com>
Commit-Queue: Gary Miguel <garymm@google.com>
2 files changed
tree: 7aeee1a7e6375edac98639dd734a233d193f9d6f
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.