Skip to content

Commit 9458a05

Browse files
committed
woops fix spec
1 parent 8a13201 commit 9458a05

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

runner/bubblewrap_linux_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ func TestBubblewrapInstallBindComesAfterSandboxHomeBind(t *testing.T) {
278278
return exec.Command("sh", "-c", "true")
279279
}
280280

281-
installFolder := "/home/leafo/.config/kitch/apps/sample-evil-app 2"
281+
// Use a writable test-local path: persistent HOME setup calls MkdirAll on installFolder/.itch/home.
282+
// Hardcoded user-home paths can be unwritable on CI runners and would skip the bind under test.
283+
installFolder := filepath.Join(t.TempDir(), "sample-evil-app 2")
282284
homeTarget := "/home/leafo"
283285
homeSource := filepath.Join(installFolder, ".itch", "home")
284286

0 commit comments

Comments
 (0)