Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
genpolicy: add crate-scoped integration test
Provides a test runner that generates a policy and validates it with canned requests. The initial set of test cases is mostly for illustration and will be expanded incrementally. In order to enable both cross-compilation on Ubuntu test runners as well as native compilation on the Alpine tools builder, it is easiest to switch to the vendored openssl-src variant. This builds OpenSSL from source, which depends on Perl at build time. Adding the test to the Makefile makes it execute in CI, on a variety of architectures. Building on ppc64le requires a newer version of the libz-ng-sys crate. Fixes: kata-containers#10061 Signed-off-by: Markus Rudy <[email protected]>
- Loading branch information