summaryrefslogtreecommitdiff
path: root/test/kpod_history.bats
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-12-04 10:43:09 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-04 20:03:16 +0000
commit3db735c6d1bd3fdcf77f4aeed581ae852d79b951 (patch)
treedaad6c759e45b7d316950be9aa57498fecb7a86a /test/kpod_history.bats
parent265efcb9f88a78ee52eb5644d4db86e49788991f (diff)
downloadpodman-3db735c6d1bd3fdcf77f4aeed581ae852d79b951.tar.gz
podman-3db735c6d1bd3fdcf77f4aeed581ae852d79b951.tar.bz2
podman-3db735c6d1bd3fdcf77f4aeed581ae852d79b951.zip
Short options!
Any subcommand that has two or more booleon short options can now combine those two options. For example: kpod rmi -af (Remove all images forceably) Signed-off-by: baude <bbaude@redhat.com> Closes: #100 Approved by: rhatdan
Diffstat (limited to 'test/kpod_history.bats')
-rw-r--r--test/kpod_history.bats6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/kpod_history.bats b/test/kpod_history.bats
index 9ce2be079..5e99696b2 100644
--- a/test/kpod_history.bats
+++ b/test/kpod_history.bats
@@ -45,3 +45,9 @@ function setup() {
echo "$output"
[ "$status" -eq 0 ]
}
+
+@test "kpod history short options" {
+ run ${KPOD_BINARY} ${KPOD_OPTIONS} history -qH $ALPINE
+ echo "$output"
+ [ "$status" -eq 0 ]
+}