parent
60df13fb56
commit
217095ad08
|
@ -1231,7 +1231,7 @@ func testTempDir(skip int) string {
|
|||
}
|
||||
_, prefix := path.Split(runtime.FuncForPC(pc).Name())
|
||||
// Make a temp dir prefixed with calling function's name.
|
||||
dir, err := ioutil.TempDir("/tmp", prefix)
|
||||
dir, err := ioutil.TempDir(os.TempDir(), prefix)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue