|  | před 3 roky | |
|---|---|---|
| .. | ||
| cases | před 3 roky | |
| .gitignore | před 3 roky | |
| README.md | před 3 roky | |
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 target add x86_64-unknown-linux-muslrtf: go install github.com/linuxkit/rtf@latestcargo install rust-scriptqemu and cloud-init-utils package - or any package that provides cloud-localdsIt is not required, but the tests run significantly faster if you use sccache
You may also use the docker image to run the tests:
docker run -it --rm --device /dev/kvm -v/home/dave/dev/aya-rs/aya:/src -w /src/test ghcr.io/aya-rs/aya-test-rtf:main
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}.rsSee ./cases for examples