summaryrefslogtreecommitdiff
path: root/test/system/010-images.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-01 03:36:11 -0400
committerGitHub <noreply@github.com>2021-10-01 03:36:11 -0400
commit317e20a8d5a39088ea112f8321630aacfe27ddbc (patch)
tree934f83cc105ca3f619d07f7b41384c3d4c31a534 /test/system/010-images.bats
parentf96c281f53cff68ac0715dac5da0f53eefa95b8b (diff)
parentbf94ebf423931f6cd848126372fe558c8b956dcc (diff)
downloadpodman-317e20a8d5a39088ea112f8321630aacfe27ddbc.tar.gz
podman-317e20a8d5a39088ea112f8321630aacfe27ddbc.tar.bz2
podman-317e20a8d5a39088ea112f8321630aacfe27ddbc.zip
Merge pull request #11776 from edsantiago/bats_is_cleanup
System tests: tighten 'is' operator
Diffstat (limited to 'test/system/010-images.bats')
-rw-r--r--test/system/010-images.bats6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/system/010-images.bats b/test/system/010-images.bats
index 649987dfd..1e9d5f181 100644
--- a/test/system/010-images.bats
+++ b/test/system/010-images.bats
@@ -19,8 +19,8 @@ load helpers
@test "podman images - custom formats" {
tests="
-{{.ID}} | [0-9a-f]\\\{12\\\}
-{{.ID| upper}} | [0-9A-F]\\\{12\\\}
+{{.ID}} | [0-9a-f]\\\{12\\\}\\\$
+{{.ID| upper}} | [0-9A-F]\\\{12\\\}\\\$
{{.Repository}}:{{.Tag}} | $PODMAN_TEST_IMAGE_FQN
{{.Labels.created_by}} | test/system/build-testimage
{{.Labels.created_at}} | 20[0-9-]\\\+T[0-9:]\\\+Z
@@ -28,7 +28,7 @@ load helpers
parse_table "$tests" | while read fmt expect; do
run_podman images --format "$fmt"
- is "$output" "$expect\$" "podman images $fmt"
+ is "$output" "$expect" "podman images --format '$fmt'"
done
run_podman images --format "{{.ID}}" --no-trunc