Commit Graph

1 Commits (4db0eb460926cf242b2ec9b6a6bb4fadd65cd17f)

Author SHA1 Message Date
Andrew Werner 4db0eb4609 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