1
0
mirror of https://github.com/golang/go synced 2024-11-20 03:24:41 -07:00
go/src/os
Ron Minnich 0cf7e54f2f os: don't assume /bin/pwd in test, find it in $PATH
There are several distros now that no longer have /bin.
Instead of assuming /bin/pwd, we will look for it in $PATH.

Fixes #21684.

Change-Id: I61478326500edeadc3c26803990550dad00c7971
Signed-off-by: Ron Minnich <rminnich@gmail.com>
Reviewed-on: https://go-review.googlesource.com/60010
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-08-29 20:08:16 +00:00
..
exec os/exec: add example for Cmd.Run 2017-07-15 21:36:39 +00:00
signal testing: roll back CL 44352 (show in-progress tests upon SIGINT) 2017-07-13 16:01:49 +00:00
user {net,os/user,plugin}: eliminate unnecessary C round-trips 2017-08-17 18:14:16 +00:00
dir_plan9.go
dir_unix.go
dir_windows.go os: avoid calulating fileStat.path until it is needed 2017-05-09 04:47:47 +00:00
dir.go
env_test.go
env_unix_test.go
env.go
error_plan9.go
error_posix.go
error_test.go
error_unix_test.go
error_unix.go
error_windows_test.go
error_windows.go
error.go
example_test.go os: use Fstat instead of Stat in FileMode example 2017-07-15 16:46:50 +00:00
exec_plan9.go
exec_posix.go
exec_unix.go
exec_windows.go os: parse command line without shell32.dll 2017-03-24 00:53:03 +00:00
exec.go
executable_darwin.go
executable_freebsd.go
executable_path.go os: on OpenBSD implement Executable using Args[0] 2017-06-17 03:32:59 +00:00
executable_plan9.go
executable_procfs.go os: on OpenBSD implement Executable using Args[0] 2017-06-17 03:32:59 +00:00
executable_solaris.go
executable_test.go os: run more of TestExecutable on OpenBSD 2017-06-22 04:42:40 +00:00
executable_windows.go
executable.go os: fix documentation for Executable on OpenBSD 2017-06-21 04:56:15 +00:00
export_test.go
export_windows_test.go os: parse command line without shell32.dll 2017-03-24 00:53:03 +00:00
file_plan9.go os: add documentation for Windows users 2017-06-30 01:36:38 +00:00
file_posix.go os: add documentation for Windows users 2017-06-30 01:36:38 +00:00
file_unix.go os: clarify behavior of TempDir 2017-06-14 20:12:49 +00:00
file_windows.go os: clarify behavior of TempDir 2017-06-14 20:12:49 +00:00
file.go os: add documentation for Windows users 2017-06-30 01:36:38 +00:00
getwd_darwin.go
getwd.go
os_test.go os: don't assume /bin/pwd in test, find it in $PATH 2017-08-29 20:08:16 +00:00
os_unix_test.go
os_windows_test.go os: reimplement windows os.Stat 2017-05-07 01:26:02 +00:00
path_plan9.go
path_test.go
path_unix.go
path_windows_test.go
path_windows.go
path.go
pipe_bsd.go syscall, os: use pipe2 syscall on FreeBSD instead of pipe 2017-03-21 20:01:23 +00:00
pipe_freebsd.go syscall, os: fix FreeBSD 9 build 2017-03-21 22:37:27 +00:00
pipe_linux.go
pipe_test.go internal/poll: don't wait for unpollable files 2017-07-14 04:03:31 +00:00
proc.go os: add documentation for Windows users 2017-06-30 01:36:38 +00:00
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_unix.go
stat_windows.go os: remove duplicate check from windows os.Stat 2017-07-20 07:43:15 +00:00
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
sys.go
types_plan9.go
types_unix.go os: fix race between file I/O and Close 2017-04-25 13:58:24 +00:00
types_windows.go os: avoid calulating fileStat.path until it is needed 2017-05-09 04:47:47 +00:00
types.go os: add documentation for Windows users 2017-06-30 01:36:38 +00:00
wait_unimp.go os: don't use waitid on Darwin 2017-03-01 02:02:40 +00:00
wait_wait6.go
wait_waitid.go os: align siginfo argument to waitid 2017-06-23 17:02:41 +00:00