mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-16 12:47:52 +00:00
test/e2e: skip "podman cp --pid=host file" for remote
Same issue as "podman cp from ctr chown" - the test fails when copying a file from a container to an existing file on the host. Remote cp tries to create a directory at the destination, resulting in: Error: mkdir /tmp/746758151: not a directory This is the same bug in the remote cp implementation where it doesn't handle copying to an existing file path. Fix exists in commit b0836ab624 but hasn't been merged yet. Skip the test for remote until the fix is integrated. Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
parent
1655f22451
commit
5bbbbb1eee
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ var _ = Describe("Podman cp", func() {
|
|||
|
||||
// Copy a file to the container, then back to the host in --pid=host
|
||||
It("podman cp --pid=host file", func() {
|
||||
SkipIfRemote("podman-remote cp fails when copying file to existing file path")
|
||||
SkipIfRootlessCgroupsV1("Not supported for rootless + CgroupsV1")
|
||||
srcFile, err := os.CreateTemp("", "")
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue