mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-17 05:07:50 +00:00
test/e2e: skip "podman cp from ctr chown" for remote
The test fails in podman-remote when copying a file from a container to an existing file on the host. The remote cp implementation tries to create a directory at the destination path, resulting in: Error: mkdir /tmp/1457882724: not a directory This is a bug in the remote cp implementation where it doesn't properly handle copying to an existing file. A fix exists in commit b0836ab624 (branch cve-441-crio) 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
04ee7173b5
commit
1655f22451
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ var _ = Describe("Podman cp", func() {
|
|||
// it to the host and back to the container and make sure that we can
|
||||
// access it, and (roughly) the right users own it.
|
||||
It("podman cp from ctr chown ", func() {
|
||||
SkipIfRemote("podman-remote cp fails when copying file to existing file path")
|
||||
srcFile, err := os.CreateTemp("", "")
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
defer srcFile.Close()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue