Skip to content

Commit 72e8c82

Browse files
Merge pull request #26490 from Luap99/pasta-testfix
test/e2e: fix "with unsafe hostPath subpaths" test
2 parents b433eb5 + 01fb3aa commit 72e8c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/play_kube_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5549,7 +5549,7 @@ spec:
55495549
})
55505550

55515551
It("with unsafe hostPath subpaths", func() {
5552-
hostPathLocation := podmanTest.TempDir
5552+
hostPathLocation := filepath.Join(podmanTest.TempDir, "vol")
55535553

55545554
Expect(os.MkdirAll(filepath.Join(hostPathLocation, "testing"), 0755)).To(Succeed())
55555555
Expect(os.Symlink("/", filepath.Join(hostPathLocation, "testing", "symlink"))).To(Succeed())

0 commit comments

Comments
 (0)