diff options
author | Ed Santiago <santiago@redhat.com> | 2022-01-10 11:54:12 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-01-17 14:40:30 -0700 |
commit | c8124b88aecf8b01f6376950b7caf1ba9f619988 (patch) | |
tree | 3bd08727368c557460ef115c48415f4025db4706 /test/system/010-images.bats | |
parent | b59c30f729401214131dd1378a49efa80f134717 (diff) | |
download | podman-c8124b88aecf8b01f6376950b7caf1ba9f619988.tar.gz podman-c8124b88aecf8b01f6376950b7caf1ba9f619988.tar.bz2 podman-c8124b88aecf8b01f6376950b7caf1ba9f619988.zip |
[WIP] Tests for podman image scp (the sudo form)
Start inching our way back to having tests for the sudo form
of podman image scp. Basically, copy an image to another user
and then back, using a pseudorandom name. Confirm that the
image makes it to the remote end, and that when we copy it
back, the original image digest is preserved.
When scp'ing as root, we identify the destination rootless
user account via the $PODMAN_ROOTLESS_USER envariable. Setting
this and creating the account is left as an exercise for the
CI framework (be it github, or Fedora/CentOS/RHEL gating, or
other).
Also: amend hack/bats to set and relay $PODMAN_ROOTLESS_USER,
so developers can test locally.
Also: remove what I'm 99% sure is a debugging printf.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/010-images.bats')
0 files changed, 0 insertions, 0 deletions