mirror of
https://github.com/golang/go
synced 2024-11-18 11:44:45 -07:00
Revert "cmd/compile: make logopt test skip if cannot create scratch directory"
This reverts commit 98534812bd
.
Reason for revert: The change does not really fixes issue #38251. CL 227497 is real fix.
Change-Id: I9f556005baf1de968f059fb8dad89dae05330aa6
Reviewed-on: https://go-review.googlesource.com/c/go/+/227802
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
06314b620d
commit
df15eaedd0
@ -62,7 +62,7 @@ func TestLogOpt(t *testing.T) {
|
||||
|
||||
dir, err := ioutil.TempDir("", "TestLogOpt")
|
||||
if err != nil {
|
||||
t.Skipf("Could not create work directory, assuming not allowed on this platform. Error was '%v'", err)
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer os.RemoveAll(dir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user