Commit Graph

1 Commits (65079fe29b4d191bd5d2694c0d78efc31020ca93)

Author SHA1 Message Date
Andrew Werner 65079fe29b xtask: add kernel-test
This allows integration tests to be run using qemu at an
arbitrary kernel version. Note that the integration tests
which rely on tools like `bpftool` do not work because
there is nothing in the image.

The kernel-test task can be run like this to run the `smoke`
integration test.

```
$ cargo xtask kernel-test --libbpf-dir $LIBBPF_DIR --kernel-version 5.19 -- smoke
```
2 years ago