1To run the bootsvc integration tests, boot with these boot cmdline arguments: 2`userboot=bin/bootsvc bootsvc.next=bin/bootsvc-tests`. This will tell bootsvc 3to execute its test suite instead of the usual boot chain. The expected output 4from a boot in this mode is a unittest suite report that says 0 failed tests. 5 6To test that crashlogs are being added to bootfs, you need to add a CRASHLOG item 7to the boot zbi. For example, to add the contents of README.md as the crashlog: 8``` 9$ scripts/build-zircon-x64 && 10 build-x64/tools/zbi -o build-x64/zircon.zbi build-x64/zircon.zbi \ 11 -T CRASHLOG README.md && 12 scripts/run-zircon-x64 -V -k -q $(pwd)/../buildtools/linux-x64/qemu/bin \ 13 -c userboot=bin/bootsvc -c bootsvc.next=bin/bootsvc-tests 14``` 15