diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go index 29dec3d434..b3354b6eff 100644 --- a/test/e2e/play_kube_test.go +++ b/test/e2e/play_kube_test.go @@ -5549,7 +5549,7 @@ spec: }) 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.Symlink("/", filepath.Join(hostPathLocation, "testing", "symlink"))).To(Succeed())