]> Cypherpunks.ru repositories - gostls13.git/commit
os: don't use T.Cleanup in TestRemoveAllLongPath
authorTobias Klauser <tklauser@distanz.ch>
Sun, 4 Apr 2021 11:44:21 +0000 (13:44 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Sun, 4 Apr 2021 20:04:37 +0000 (20:04 +0000)
commit4230a6ebdd88f3f9202e1a55f993f6ac62f8f8e7
treec55143ba0365cffb836f2c2d2883fc52b6822c9b
parent7bfd681c2f11918c6245ad2906b2efc12eda2914
os: don't use T.Cleanup in TestRemoveAllLongPath

Revert CL 306290 changes to TestRemoveAllLongPath. This breaks the test
on aix, illumos and solaris. We need to chdir out of startPath before
attempting to remove it.

Updates #45182

Change-Id: Ic14fa1962d6f2cc83238f6fc2c6932fd9a6e52a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/307189
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
src/os/os_windows_test.go
src/os/removeall_test.go