Skip to content

Commit ebb1bbc

Browse files
committed
try to address /private prefix issue on macos on CI
1 parent 74c8cad commit ebb1bbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

acceptance/acceptance_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ func runTest(t *testing.T, dir, coverDir string, repls testdiff.ReplacementsCont
137137
tmpDir = t.TempDir()
138138
}
139139

140+
repls.Set("/private"+tmpDir, "$TMPDIR")
141+
repls.Set("/private"+filepath.Dir(tmpDir), "$TMPPARENT")
142+
repls.Set("/private"+filepath.Dir(filepath.Dir(tmpDir)), "$TMPGPARENT")
140143
repls.Set(tmpDir, "$TMPDIR")
141144
repls.Set(filepath.Dir(tmpDir), "$TMPPARENT")
142145
repls.Set(filepath.Dir(filepath.Dir(tmpDir)), "$TMPGPARENT")

0 commit comments

Comments
 (0)