aboutsummaryrefslogtreecommitdiff
path: root/test/system/005-info.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/005-info.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/005-info.bats')
-rw-r--r--test/system/005-info.bats4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/system/005-info.bats b/test/system/005-info.bats
index 7dcc78838..c64b011bd 100644
--- a/test/system/005-info.bats
+++ b/test/system/005-info.bats
@@ -3,6 +3,8 @@
load helpers
@test "podman info - basic test" {
+ skip_if_remote
+
run_podman info
expected_keys="
@@ -26,6 +28,8 @@ RunRoot:
}
@test "podman info - json" {
+ skip_if_remote
+
run_podman info --format=json
expr_nvr="[a-z0-9-]\\\+-[a-z0-9.]\\\+-[a-z0-9]\\\+\."