summaryrefslogtreecommitdiff
path: root/test/kpod_history.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_history.bats')
-rw-r--r--test/kpod_history.bats54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/kpod_history.bats b/test/kpod_history.bats
deleted file mode 100644
index 466b977db..000000000
--- a/test/kpod_history.bats
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/env bats
-
-load helpers
-
-function teardown() {
- cleanup_test
-}
-
-function setup() {
- prepare_network_conf
- copy_images
-}
-
-@test "kpod history default" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} history $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "kpod history with Go template format" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} history --format "{{.ID}} {{.Created}}" $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "kpod history human flag" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} history --human=false $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "kpod history quiet flag" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} history -q $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "kpod history no-trunc flag" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} history --no-trunc $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "kpod history json flag" {
- run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} history --format json $ALPINE | python -m json.tool"
- echo "$output"
- [ "$status" -eq 0 ]
-}
-
-@test "kpod history short options" {
- run ${KPOD_BINARY} ${KPOD_OPTIONS} history -qH $ALPINE
- echo "$output"
- [ "$status" -eq 0 ]
-}