|
3 years ago | |
---|---|---|
.. | ||
cases | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago |
The aya regression test suite is a set of tests to ensure that common usage behaviours work on real Linux distros
This assumes you have a working Rust and Go toolchain on the host machine
rustup toolcahin add x86_64-unknown-linux-musl
rtf
: go install github.com/linuxkit/rtf@latest
cargo install rust-script
qemu
and cloud-init-utils
package - or any package that provides cloud-localds
It is not required, but the tests run significantly faster if you use sccache
To read more about how to use rtf
, see the documentation
rtf -vvv run
AYA_TEST_IMAGE=centos8 rtf -vvv run
Tests should follow this pattern:
${NAME}.ebpf.rs
${NAME}.rs
See ./cases
for examples