summaryrefslogtreecommitdiff
path: root/test/system/110-history.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/system/110-history.bats')
-rw-r--r--test/system/110-history.bats8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/system/110-history.bats b/test/system/110-history.bats
index 75c15b088..0f6d75cb3 100644
--- a/test/system/110-history.bats
+++ b/test/system/110-history.bats
@@ -21,6 +21,14 @@ load helpers
done
}
+@test "podman history - custom format" {
+ run_podman history --format "{{.ID}}\t{{.ID}}" $IMAGE
+ od -c <<<$output
+ while IFS= read -r row; do
+ is "$row" ".* .*$"
+ done <<<$output
+}
+
@test "podman history - json" {
# Sigh. Timestamp in .created can be '...Z' or '...-06:00'
tests="