This reverts commit
98534812bdcdd22b13469ea587e310187876b7d2.
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>
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)