diff options
author | baude <bbaude@redhat.com> | 2019-08-11 11:47:15 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-08-16 10:10:50 -0500 |
commit | 04f2f95bb4ffae161ff0e7f01e381d6c7296fe14 (patch) | |
tree | db0acc0626c914498535f37ebb2965905f080253 /contrib/cirrus | |
parent | 3f1657d729b4f4c367b3e124621a6f3a9a5769d4 (diff) | |
download | podman-04f2f95bb4ffae161ff0e7f01e381d6c7296fe14.tar.gz podman-04f2f95bb4ffae161ff0e7f01e381d6c7296fe14.tar.bz2 podman-04f2f95bb4ffae161ff0e7f01e381d6c7296fe14.zip |
Create framework for varlink endpoint integration tests
add the ability to write integration tests similar to our e2e tests for
the varlink endpoints.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'contrib/cirrus')
-rwxr-xr-x | contrib/cirrus/integration_test.sh | 6 | ||||
-rwxr-xr-x | contrib/cirrus/setup_environment.sh | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/contrib/cirrus/integration_test.sh b/contrib/cirrus/integration_test.sh index 8a43176e4..d17027866 100755 --- a/contrib/cirrus/integration_test.sh +++ b/contrib/cirrus/integration_test.sh @@ -43,6 +43,12 @@ case "$SPECIALMODE" in echo "WARNING: Integration tests not yet ready for cgroups V2" #TODO: make local${TESTSUITE} ;; + endpoint) + make + make install PREFIX=/usr ETCDIR=/etc + make test-binaries + make endpoint + ;; none) make make install PREFIX=/usr ETCDIR=/etc diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index 03acaf1da..e6489a9bd 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -73,6 +73,9 @@ case "$SPECIALMODE" in none) remove_packaged_podman_files ;; + endpoint) + remove_packaged_podman_files + ;; rootless) # Only do this once, even if ROOTLESS_USER (somehow) changes if ! grep -q 'ROOTLESS_USER' /etc/environment |