mirror of
https://github.com/containers/podman.git
synced 2025-10-14 09:45:59 +08:00
Merge pull request #5582 from kunalkushwaha/bugfix-5001
Improved readability in image json output
This commit is contained in:
@ -27,11 +27,11 @@ load helpers
|
||||
@test "podman images - json" {
|
||||
# 'created': podman includes fractional seconds, podman-remote does not
|
||||
tests="
|
||||
names[0] | $PODMAN_TEST_IMAGE_FQN
|
||||
id | [0-9a-f]\\\{64\\\}
|
||||
digest | sha256:[0-9a-f]\\\{64\\\}
|
||||
created | [0-9-]\\\+T[0-9:.]\\\+Z
|
||||
size | [0-9]\\\+
|
||||
Names[0] | $PODMAN_TEST_IMAGE_FQN
|
||||
ID | [0-9a-f]\\\{64\\\}
|
||||
Digest | sha256:[0-9a-f]\\\{64\\\}
|
||||
CreatedAt | [0-9-]\\\+T[0-9:.]\\\+Z
|
||||
Size | [0-9]\\\+
|
||||
"
|
||||
|
||||
run_podman images -a --format json
|
||||
|
Reference in New Issue
Block a user