[roll] Roll fuchsia [starnix] Ignore content including and after `\n` in /sys/power/state

On Linux this seems to be the behavior. In particular I can

  echo freeze | sudo tee /sys/power/state
  echo -n 'freeze\nfoobar' | sudo tee /sys/power/state

and both will suspend the system. The existing starnix logic could be
too strict.

TEST: ran those commands in a `ffx starnix console` console
TEST: added a parsing test in sysfs_power_test.cc

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1023692
Original-Revision: 795e35f67f176296dad28170d0689711f6cf3cb8
GitOrigin-RevId: 4a8aa8eb2b305ac84e36e1b818de453e983d3212
Change-Id: Id9f02fe7f077cbac42c51cf67e4a0554e9fbbe08
1 file changed
tree: c3d7376ca0ae5e96cc6ca17dab9bff563fb31143
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.