aboutsummaryrefslogtreecommitdiff
path: root/test/buildah-bud/run-buildah-bud-tests
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-02-09 14:33:19 -0700
committerEd Santiago <santiago@redhat.com>2021-07-28 14:14:42 -0600
commitec9dad7e4f1547bb46c46c36bf5eb56ef5b09bb0 (patch)
treee7ac9ecd176d12eb2eef4ae68c9bf7eb9437c2ec /test/buildah-bud/run-buildah-bud-tests
parentf9395ddc5ad8b32e4e9b24542f0869722f7c9743 (diff)
downloadpodman-ec9dad7e4f1547bb46c46c36bf5eb56ef5b09bb0.tar.gz
podman-ec9dad7e4f1547bb46c46c36bf5eb56ef5b09bb0.tar.bz2
podman-ec9dad7e4f1547bb46c46c36bf5eb56ef5b09bb0.zip
buildah bud tests under podman-remote
New functionality -- mostly in the diffs we apply to buildah's helpers.bash -- to enable running buildah-bud tests under podman-remote. The gist of it is, we start a 'podman system service' before each test, and clean it up on test exit. Design decision: the diff file for helpers.bash is no longer trailing-whitespace-clean: that ended up producing diffs that git wouldn't apply, because in some cases the whitespace is actually important. In order to pass CI, we need to exclude this file from some checks. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/buildah-bud/run-buildah-bud-tests')
-rwxr-xr-xtest/buildah-bud/run-buildah-bud-tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildah-bud/run-buildah-bud-tests b/test/buildah-bud/run-buildah-bud-tests
index a37e90dc4..eb8de5618 100755
--- a/test/buildah-bud/run-buildah-bud-tests
+++ b/test/buildah-bud/run-buildah-bud-tests
@@ -69,8 +69,7 @@ REMOTE=
# If remote, start server & change path
if [[ "${PODBIN_NAME:-}" = "remote" ]]; then
REMOTE=1
- echo "$ME: remote tests are not working yet" >&2
- exit 1
+ PODMAN_BINARY+="-remote"
fi
function die() {
@@ -214,6 +213,7 @@ review the test failure and double-check your changes.
(set -x;sudo env TMPDIR=/var/tmp \
PODMAN_BINARY=$PODMAN_BINARY \
+ REMOTE=$REMOTE \
BUILDAH_BINARY=$(pwd)/bin/buildah \
COPY_BINARY=$(pwd)/bin/copy \
bats "${bats_filter[@]}" tests/bud.bats)