Add initial system tests for quadlets

This adds basic container and volume system tests for quadlet. These
install and run actual systemd units and ensure they work.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
Alexander Larsson
2022-12-13 14:14:50 +01:00
parent 20b10574d7
commit 80878f20bc
5 changed files with 287 additions and 1 deletions

View File

@ -54,6 +54,7 @@ $0 also passes through \$OCI_RUNTIME, should you need to test that.
# By default, test the podman in our working directory.
# Some tests cd out of our workdir, so abs path is important
export PODMAN=${PODMAN:-$(pwd)/bin/podman}
export QUADLET=${QUADLET:-$(pwd)/bin/quadlet}
# Because 'make' doesn't do this by default
chcon -t container_runtime_exec_t $PODMAN