aboutsummaryrefslogtreecommitdiff
path: root/test/podman_history.bats
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-02 19:05:23 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-05 20:17:37 +0000
commit3609b82fe6f5fe268cdbe9f8aba43140c4e81f90 (patch)
tree885ee7015b2f15ce20cdff768b3468ff4c0ad492 /test/podman_history.bats
parent1ac11dcf8423575f4e5f5f758b8989cf3fcc389b (diff)
downloadpodman-3609b82fe6f5fe268cdbe9f8aba43140c4e81f90.tar.gz
podman-3609b82fe6f5fe268cdbe9f8aba43140c4e81f90.tar.bz2
podman-3609b82fe6f5fe268cdbe9f8aba43140c4e81f90.zip
Migrate diff, exec, export, and history to ginkgo
Migrate the diff, exec, export, and history bats tests to the ginkgo test suite. Signed-off-by: baude <bbaude@redhat.com> Closes: #287 Approved by: baude
Diffstat (limited to 'test/podman_history.bats')
-rw-r--r--test/podman_history.bats53
1 files changed, 0 insertions, 53 deletions
diff --git a/test/podman_history.bats b/test/podman_history.bats
deleted file mode 100644
index 2eeb1b5ac..000000000
--- a/test/podman_history.bats
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env bats
-
-load helpers
-
-function teardown() {
- cleanup_test
-}
-
-function setup() {
- copy_images
-}
-
-@test "podman history default" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} history $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "podman history with Go template format" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} history --format "{{.ID}} {{.Created}}" $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "podman history human flag" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} history --human=false $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "podman history quiet flag" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} history -q $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "podman history no-trunc flag" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} history --no-trunc $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "podman history json flag" {
- run bash -c "${PODMAN_BINARY} ${PODMAN_OPTIONS} history --format json $ALPINE | python -m json.tool"
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "podman history short options" {
- run ${PODMAN_BINARY} ${PODMAN_OPTIONS} history -qH $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}