github.com/oweisse/u-root@v0.0.0-20181109060735-d005ad25fef1/integration/README.md (about) 1 # Integration Tests 2 3 This tests core use cases for u-root such as: 4 5 - retrieving and kexec'ing a Linux kernel, 6 - uinit (user init), and 7 - running unit tests requiring root privileges. 8 9 ## Usage 10 11 Run the tests with: 12 13 go test 14 15 ## Requirements 16 17 - QEMU 18 - Path and arguments must be set with `UROOT_QEMU`. 19 - Example: `export UROOT_QEMU="$HOME/bin/qemu-system-x86_64 -L ."` 20 - Linux kernel 21 - Path and arguments must be set with `UROOT_KERNEL`. 22 - Example: `export UROOT_KERNEL="$HOME/linux/arch/x86_64/boot/bzImage"` 23 24 ## To Dos 25 26 1. Support testing on architectures besides amd64. This is currently limited by 27 the Linux bzImage uploaded.