mirror of
https://github.com/ko-build/ko.git
synced 2025-11-06 09:19:12 +02:00
Fix layout tests on macos (#384)
This commit is contained in:
@@ -31,7 +31,7 @@ func TestLayout(t *testing.T) {
|
||||
}
|
||||
importpath := "github.com/Google/go-containerregistry/cmd/crane"
|
||||
|
||||
tmp, err := ioutil.TempDir("", "ko")
|
||||
tmp, err := ioutil.TempDir("/tmp", "ko")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ func TestMulti(t *testing.T) {
|
||||
|
||||
tp := NewTarball(fp.Name(), repoName, md5Hash, []string{})
|
||||
|
||||
tmp, err := ioutil.TempDir("", "ko")
|
||||
tmp, err := ioutil.TempDir("/tmp", "ko")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user