aboutsummaryrefslogtreecommitdiff
path: root/test/apiv2/12-imagesMore.at
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-28 17:46:12 +0000
committerGitHub <noreply@github.com>2022-06-28 17:46:12 +0000
commitd8f197cc1491dace1ff12bff281d9adfbfd35761 (patch)
treecae59afd4e9f31f1859e24617643c3d0939ca249 /test/apiv2/12-imagesMore.at
parent50fa651a4e3cfde2b64aa818ad1009f4289f0afd (diff)
parent6d3520e8b7d7f57d389da08d1c8104c2cfbdd016 (diff)
downloadpodman-d8f197cc1491dace1ff12bff281d9adfbfd35761.tar.gz
podman-d8f197cc1491dace1ff12bff281d9adfbfd35761.tar.bz2
podman-d8f197cc1491dace1ff12bff281d9adfbfd35761.zip
Merge pull request #14400 from cdoern/scp
podman image scp remote support & podman image scp tagging
Diffstat (limited to 'test/apiv2/12-imagesMore.at')
-rw-r--r--test/apiv2/12-imagesMore.at13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/apiv2/12-imagesMore.at b/test/apiv2/12-imagesMore.at
index 57d5e114d..fc18dd2d7 100644
--- a/test/apiv2/12-imagesMore.at
+++ b/test/apiv2/12-imagesMore.at
@@ -56,4 +56,17 @@ t GET libpod/images/$IMAGE/json 200 \
t DELETE libpod/images/$IMAGE 200 \
.ExitCode=0
+podman pull -q $IMAGE
+
+# test podman image SCP
+# ssh needs to work so we can validate that the failure is past argument parsing
+podman system connection add --default test ssh://$USER@localhost/run/user/$UID/podman/podman.sock
+# should fail but need to check the output...
+# status 125 here means that the save/load fails due to
+# cirrus weirdness with exec.Command. All of the args have been parsed sucessfully.
+t POST "libpod/images/scp/$IMAGE?destination=QA::" 500 \
+ .cause="exit status 125"
+t DELETE libpod/images/$IMAGE 200 \
+ .ExitCode=0
+
stop_registry