summaryrefslogtreecommitdiff
path: root/test/system/200-pod.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-19 20:31:45 +0200
committerGitHub <noreply@github.com>2020-08-19 20:31:45 +0200
commit15073f444e1e65881bc84eeeb275a564f39fb51e (patch)
treef1514a4eeb89860332248d620d195c76f047618c /test/system/200-pod.bats
parentd6ae56113a4cff36b358f71e9ffc5e5eb6c6e9b3 (diff)
parentd254fa4c35d81992084ddad300adf487239808db (diff)
downloadpodman-15073f444e1e65881bc84eeeb275a564f39fb51e.tar.gz
podman-15073f444e1e65881bc84eeeb275a564f39fb51e.tar.bz2
podman-15073f444e1e65881bc84eeeb275a564f39fb51e.zip
Merge pull request #7362 from edsantiago/bats
system tests: enable more remote tests; cleanup
Diffstat (limited to 'test/system/200-pod.bats')
-rw-r--r--test/system/200-pod.bats5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats
index f3ec8a67c..7189d7e4b 100644
--- a/test/system/200-pod.bats
+++ b/test/system/200-pod.bats
@@ -96,9 +96,8 @@ function teardown() {
run_podman rm $cid1
# ...then, from pause container, find the image ID of the pause image...
- # FIXME: if #6283 gets implemented, use 'inspect --format ...'
- run_podman pod inspect $podname
- pause_cid=$(jq -r '.Containers[0].Id' <<<"$output")
+ run_podman pod inspect --format '{{(index .Containers 0).ID}}' $podname
+ pause_cid="$output"
run_podman container inspect --format '{{.Image}}' $pause_cid
pause_iid="$output"