diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-19 20:31:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 20:31:45 +0200 |
commit | 15073f444e1e65881bc84eeeb275a564f39fb51e (patch) | |
tree | f1514a4eeb89860332248d620d195c76f047618c /test/system/200-pod.bats | |
parent | d6ae56113a4cff36b358f71e9ffc5e5eb6c6e9b3 (diff) | |
parent | d254fa4c35d81992084ddad300adf487239808db (diff) | |
download | podman-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.bats | 5 |
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" |