summaryrefslogtreecommitdiff
path: root/test/system/010-images.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-04-10 08:17:03 -0600
committerEd Santiago <santiago@redhat.com>2019-04-10 08:19:09 -0600
commit7220c166d42273c6e70c4a9df8cc0964987cd57b (patch)
tree632bc006aa9cef7eccbb31cb6c20ed8fb252efa4 /test/system/010-images.bats
parent2f2c7660c3a30d4c28c03eeeba8edc39f7864c7a (diff)
downloadpodman-7220c166d42273c6e70c4a9df8cc0964987cd57b.tar.gz
podman-7220c166d42273c6e70c4a9df8cc0964987cd57b.tar.bz2
podman-7220c166d42273c6e70c4a9df8cc0964987cd57b.zip
BATS tests: start supporting podman-remote
podman-remote now supports rm! That's what we needed to start running BATS tests. Although most tests don't actually work, some do, and maybe the rest will start working over time. For now, disable them. The only significant difference found is that podman-remote strips fractional seconds from timestamps in JSON output. Probably not something worth caring about. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/010-images.bats')
-rw-r--r--test/system/010-images.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/010-images.bats b/test/system/010-images.bats
index 1c9577e34..380623078 100644
--- a/test/system/010-images.bats
+++ b/test/system/010-images.bats
@@ -25,11 +25,12 @@ 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:]\\\+\\\.[0-9]\\\+Z
+created | [0-9-]\\\+T[0-9:.]\\\+Z
size | [0-9]\\\+
"