summaryrefslogtreecommitdiff
path: root/test/apiv2/20-containers.at
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-03-27 12:09:01 -0600
committerEd Santiago <santiago@redhat.com>2020-03-27 12:25:59 -0600
commit46e434e2cb91ef196a743e31b26e198d21f59be6 (patch)
treeca3d93f003e86bc71d09cfce4a8400ffaf03fe5f /test/apiv2/20-containers.at
parent2c5c1980200806d2a0dde375564b505b9150e645 (diff)
downloadpodman-46e434e2cb91ef196a743e31b26e198d21f59be6.tar.gz
podman-46e434e2cb91ef196a743e31b26e198d21f59be6.tar.bz2
podman-46e434e2cb91ef196a743e31b26e198d21f59be6.zip
API v2 tests: usability improvements
* Allow for descriptive comment in 't' invocations, making it easier to distinguish similar requests * Include test file basename (eg 40-pods) in 'ok/not ok' line * Always symlink $TMPDIR/test-apiv2.log to latest YYMMDDetc file * Include test result ('ok', 'not ok') in said log * When curl results are JSON, filter them through jq into log Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r--test/apiv2/20-containers.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index 3a5d5a398..7fb39b221 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -11,7 +11,7 @@ podman pull $IMAGE &>/dev/null
# Ensure clean slate
podman rm -a -f &>/dev/null
-t GET libpod/containers/json 200 length=0
+t GET "libpod/containers/json (at start: clean slate)" 200 length=0
podman run $IMAGE true