diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-15 06:23:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 06:23:00 -0400 |
commit | 10873c6f494fbc7a43365000f6f9702c21741077 (patch) | |
tree | 8eb5e73ac7144c4918d95c31a9b0b68746038b53 /test/apiv2/10-images.at | |
parent | aff64dda65514064ccbf7fcaf78293e111539eb6 (diff) | |
parent | 9b04e17893dbf91326c0f68ce7627d7bb07cf515 (diff) | |
download | podman-10873c6f494fbc7a43365000f6f9702c21741077.tar.gz podman-10873c6f494fbc7a43365000f6f9702c21741077.tar.bz2 podman-10873c6f494fbc7a43365000f6f9702c21741077.zip |
Merge pull request #11578 from jelly/handle_nil_pointer_deref
api: handle nil pointer dereference in api endpoints
Diffstat (limited to 'test/apiv2/10-images.at')
-rw-r--r-- | test/apiv2/10-images.at | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at index abc8d44b7..d3fde9f9d 100644 --- a/test/apiv2/10-images.at +++ b/test/apiv2/10-images.at @@ -94,6 +94,10 @@ t GET libpod/images/json?filters='garb1age}' 500 \ t GET libpod/images/json?filters='{"label":["testl' 500 \ .cause="unexpected end of JSON input" +# Prune images - bad all input +t POST libpod/images/prune?all='garb1age' 500 \ + .cause="schema: error converting value for \"all\"" + # Prune images - bad filter input t POST images/prune?filters='garb1age}' 500 \ .cause="invalid character 'g' looking for beginning of value" |