]> Cypherpunks repositories - gostls13.git/commit
os: don't use test logger for Getwd
authorIan Lance Taylor <iant@golang.org>
Tue, 12 Dec 2017 00:41:37 +0000 (16:41 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 12 Dec 2017 04:26:40 +0000 (04:26 +0000)
commitddae7fb1e8ae0bd7c5a011b122482352185b5951
tree9d92d96ab7e69e716a6b9deeb6a4b35c7e91a3ac
parent3f5c1adeb8951762a1b0c35194ca0ad6aca25e18
os: don't use test logger for Getwd

Otherwise, on systems for which syscall does not implement Getwd,
a lot of unnecessary files and directories get added to the testlog,
right up the root directory. This was causing tests on such systems
to fail to cache in practice.

Updates #22593

Change-Id: Ic8cb3450ea62aa0ca8eeb15754349f151cd76f85
Reviewed-on: https://go-review.googlesource.com/83455
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/file.go
src/os/file_plan9.go
src/os/file_unix.go
src/os/file_windows.go
src/os/getwd.go
src/os/stat.go [new file with mode: 0644]
src/os/stat_plan9.go
src/os/stat_unix.go
src/os/stat_windows.go