Details
Details
- Reviewers
lwhsu imp - Commits
- rS346080: Add a smoke test QEMU boot script for CI
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
.cirrus.yml | ||
---|---|---|
13 | Need to find a better place to get this from. Work is underway to include it with QEMU but that's not yet ready. |
Comment Actions
Install normal (dynamically linked) /bin/sh, /sbin/shutdown, and /sbin/init and use those instead of rescue, for a rtld and libc smoke test.
Comment Actions
@imp pointed out on IRC that we already have some similar scripts in tools/boot, at a minimum will move the script there. Perhaps there is an opportunity to share some parts.
Comment Actions
You might want to take a look at tools/boot/rootgen.sh. It's as shell script I use to generate about 24 or 32 different images to test all the different ways you can boot. It also generates a bunch of different scripts to do the qemu testing that likely could be leveraged to provide more complete qemu coverage testing.