package
Version:
v0.0.0-...-ed07a65
Opens a new window with list of versions in this module.
Published: Sep 19, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Integration Tests
This tests core use cases for u-root such as:
- retrieving and kexec'ing a Linux kernel,
- uinit (user init), and
- running unit tests requiring root privileges.
Usage
Run the tests with:
go test
When the QEMU arch is not amd64, set the UROOT_TESTARCH
variable. For
example:
UROOT_TESTARCH=arm go test
Currently, only amd64 and arm are supported.
Requirements
- QEMU
- Path and arguments must be set with
UROOT_QEMU
.
- Example:
export UROOT_QEMU="$HOME/bin/qemu-system-x86_64 -L ."
- Linux kernel
- Path and arguments must be set with
UROOT_KERNEL
.
- Example:
export UROOT_KERNEL="$HOME/linux/arch/x86_64/boot/bzImage"
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
testcmd
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.