mirror of https://github.com/containers/podman.git
Merge pull request #26490 from Luap99/pasta-testfix
test/e2e: fix "with unsafe hostPath subpaths" test
This commit is contained in:
commit
72e8c82c37
|
@ -5549,7 +5549,7 @@ spec:
|
||||||
})
|
})
|
||||||
|
|
||||||
It("with unsafe hostPath subpaths", func() {
|
It("with unsafe hostPath subpaths", func() {
|
||||||
hostPathLocation := podmanTest.TempDir
|
hostPathLocation := filepath.Join(podmanTest.TempDir, "vol")
|
||||||
|
|
||||||
Expect(os.MkdirAll(filepath.Join(hostPathLocation, "testing"), 0755)).To(Succeed())
|
Expect(os.MkdirAll(filepath.Join(hostPathLocation, "testing"), 0755)).To(Succeed())
|
||||||
Expect(os.Symlink("/", filepath.Join(hostPathLocation, "testing", "symlink"))).To(Succeed())
|
Expect(os.Symlink("/", filepath.Join(hostPathLocation, "testing", "symlink"))).To(Succeed())
|
||||||
|
|
Loading…
Reference in New Issue