[iquery] Fix goldens test to work with ASAN.

Our loading of iquery and sh from the iquery goldens test is not
compatible with ASAN, which requires all binaries to be packaged
hermetically with the test package.

While iquery can be included this way, sh cannot because it is a system
uapp in Zircon.

This change fixes the problem by making the following changes:
- Package iquery with the goldens test.
- Add an option to iquery to first change directories to a specific
location (one of the uses of sh).
- Change the golden test to perform the ID substitution necessary for
the outputs to match the golden file (the other use of sh, which piped
output through sed).
- Change all golden file input strings to just provide arguments to
iquery, not any additional shell commands.

CF-586: #done

Change-Id: I209318e9ceed4afb6714b1f03a91447b4cd16a19
9 files changed
tree: 4bdbcab32038600fb42ad5580a529c5db2d520f2
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. garnet/
  7. peridot/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. zircon/
  13. .clang-format
  14. .dir-locals.el
  15. .gitattributes
  16. .gitignore
  17. .gn
  18. AUTHORS
  19. CODE_OF_CONDUCT.md
  20. CONTRIBUTING.md
  21. LICENSE
  22. OWNERS
  23. PATENTS
  24. README.md
  25. 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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.