mirror of https://github.com/golang/go.git
GOROOT is not dependably set. When I first wrote this test, I thought it was a waste of time because the function can't fail if the other environment functions work, but I didn't want to add functionality without testing it. Of course, the test broke, and I learned something: GOROOT is not set on iOS or, to put it more broadly, the world continues to surprise me with its complexity and horror, such as a version of cat with syntax coloring. In that vein, I built this test around smallpox. Change-Id: Ifa6c218a927399d05c47954fdcaea1015e558fb6 Reviewed-on: https://go-review.googlesource.com/9791 Reviewed-by: Russ Cox <rsc@golang.org> |
||
|---|---|---|
| .. | ||
| exec | ||
| signal | ||
| user | ||
| dir_plan9.go | ||
| dir_unix.go | ||
| dir_windows.go | ||
| doc.go | ||
| env.go | ||
| env_test.go | ||
| env_unix_test.go | ||
| error.go | ||
| error_plan9.go | ||
| error_test.go | ||
| error_unix.go | ||
| error_windows.go | ||
| exec.go | ||
| exec_plan9.go | ||
| exec_posix.go | ||
| exec_unix.go | ||
| exec_windows.go | ||
| export_test.go | ||
| file.go | ||
| file_darwin.go | ||
| file_plan9.go | ||
| file_posix.go | ||
| file_unix.go | ||
| file_windows.go | ||
| getwd.go | ||
| getwd_darwin.go | ||
| os_test.go | ||
| os_unix_test.go | ||
| os_windows_test.go | ||
| path.go | ||
| path_plan9.go | ||
| path_test.go | ||
| path_unix.go | ||
| path_windows.go | ||
| pipe_bsd.go | ||
| pipe_linux.go | ||
| proc.go | ||
| stat_darwin.go | ||
| stat_dragonfly.go | ||
| stat_freebsd.go | ||
| stat_linux.go | ||
| stat_nacl.go | ||
| stat_netbsd.go | ||
| stat_openbsd.go | ||
| stat_plan9.go | ||
| stat_solaris.go | ||
| stat_windows.go | ||
| sticky_bsd.go | ||
| sticky_notbsd.go | ||
| str.go | ||
| sys_bsd.go | ||
| sys_darwin.go | ||
| sys_freebsd.go | ||
| sys_linux.go | ||
| sys_nacl.go | ||
| sys_plan9.go | ||
| sys_solaris.go | ||
| sys_unix.go | ||
| sys_windows.go | ||
| types.go | ||
| types_notwin.go | ||
| types_windows.go | ||