diff options
Diffstat (limited to 'test/system/110-history.bats')
-rw-r--r-- | test/system/110-history.bats | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/system/110-history.bats b/test/system/110-history.bats index c00949bd1..84a1e42b4 100644 --- a/test/system/110-history.bats +++ b/test/system/110-history.bats @@ -16,21 +16,19 @@ load helpers eval set -- "$options" - run_podman history "$@" $PODMAN_TEST_IMAGE_FQN + run_podman history "$@" $IMAGE is "$output" "$expect" "podman history $options" done } @test "podman history - json" { - type -path jq >/dev/null || die "FAIL: please 'dnf -y install jq'" - tests=" id | [0-9a-f]\\\{64\\\} created | [0-9-]\\\+T[0-9:]\\\+\\\.[0-9]\\\+Z size | -\\\?[0-9]\\\+ " - run_podman history --format json $PODMAN_TEST_IMAGE_FQN + run_podman history --format json $IMAGE parse_table "$tests" | while read field expect; do # HACK: we can't include '|' in the table @@ -47,3 +45,5 @@ size | -\\\?[0-9]\\\+ done } + +# vim: filetype=sh |