summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-11 00:25:09 +0100
committerGitHub <noreply@github.com>2022-01-11 00:25:09 +0100
commited9ef59e7ea439b670875863132b68fd094501c7 (patch)
tree02ef3d057b928b7903954a54dc7ba0f7ab466763 /test/system
parent2790b5c69c729df7ba83b214800de387fd43c646 (diff)
parent19a475906612b603b11fbbf6ee6a6978a4bd9586 (diff)
downloadpodman-ed9ef59e7ea439b670875863132b68fd094501c7.tar.gz
podman-ed9ef59e7ea439b670875863132b68fd094501c7.tar.bz2
podman-ed9ef59e7ea439b670875863132b68fd094501c7.zip
Merge pull request #12780 from rhatdan/pod
Use the InfraImage defined in containers.conf
Diffstat (limited to 'test/system')
-rw-r--r--test/system/200-pod.bats5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats
index 57d052ce2..6abdf9779 100644
--- a/test/system/200-pod.bats
+++ b/test/system/200-pod.bats
@@ -62,8 +62,8 @@ function teardown() {
@test "podman pod create - custom infra image" {
+ skip_if_remote "CONTAINERS_CONF only effects server side"
image="i.do/not/exist:image"
-
tmpdir=$PODMAN_TMPDIR/pod-test
run mkdir -p $tmpdir
containersconf=$tmpdir/containers.conf
@@ -77,6 +77,9 @@ EOF
CONTAINERS_CONF=$containersconf run_podman 125 pod create
is "$output" ".*initializing source docker://$image:.*"
+
+ CONTAINERS_CONF=$containersconf run_podman 125 create --pod new:test $IMAGE
+ is "$output" ".*initializing source docker://$image:.*"
}
@test "podman pod - communicating between pods" {