1
0
mirror of https://github.com/golang/go synced 2024-10-04 23:11:21 -06:00
go/src/os
Dave Cheney 296529b734 os: add explicit tests for fchown(2) and lchown(2) on unix platforms
Fixes #11919

Issue #11918 suggested that os.File.Chown and os.Lchown were under tested.

Change-Id: Ib41f7cb2d2fe0066d2ccb4d1bdabe1795efe80fc
Reviewed-on: https://go-review.googlesource.com/12834
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-07-31 19:41:42 +00:00
..
exec os/exec: close read pipe if copy to io.Writer fails 2015-07-22 21:37:18 +00:00
signal runtime: really pass return value to Windows in externalthreadhandler 2015-04-15 05:03:42 +00:00
user os/user: small fixes for Solaris 2015-05-06 11:37:41 +00:00
dir_plan9.go
dir_unix.go
dir_windows.go
doc.go
env_test.go os: eradicate smallpox after test 2015-05-06 17:38:57 +00:00
env_unix_test.go
env.go os: add LookupEnv, like Getenv but reports presence 2015-05-05 21:05:12 +00:00
error_plan9.go
error_test.go
error_unix.go
error_windows.go
error.go
exec_plan9.go
exec_posix.go os: replace itod on posix with general itoa and fix possible infinite recursion 2015-01-02 16:21:18 +00:00
exec_unix.go
exec_windows.go os: fix a race between Process.signal() and wait() on Windows 2015-06-11 01:33:25 +00:00
exec.go os: fix a race between Process.signal() and wait() on Windows 2015-06-11 01:33:25 +00:00
export_test.go
file_plan9.go os: remove stuttering return value names 2015-07-18 01:34:21 +00:00
file_posix.go os: remove stuttering return value names 2015-07-18 01:34:21 +00:00
file_unix.go os: remove stuttering return value names 2015-07-18 01:34:21 +00:00
file_windows.go os: remove stuttering return value names 2015-07-18 01:34:21 +00:00
file.go os: remove stuttering return value names 2015-07-18 01:34:21 +00:00
getwd_darwin.go
getwd.go
os_test.go os: add test to ensure Rename returns *LinkError 2015-07-17 22:46:05 +00:00
os_unix_test.go os: add explicit tests for fchown(2) and lchown(2) on unix platforms 2015-07-31 19:41:42 +00:00
os_windows_test.go syscall: return error instead of panicking in windows StartProcess 2015-06-29 03:54:33 +00:00
path_plan9.go all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
path_test.go os: adjust working dir for darwin/arm64 tests 2015-04-12 11:51:59 +00:00
path_unix.go all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
path_windows.go all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
path.go
pipe_bsd.go
pipe_linux.go
proc.go os: give race detector chance to override Exit(0) 2015-03-28 12:42:37 +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 os: remove stuttering return value names 2015-07-18 01:34:21 +00:00
stat_solaris.go
stat_windows.go os: remove stuttering return value names 2015-07-18 01:34:21 +00:00
sticky_bsd.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
sticky_notbsd.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
str.go os: replace itod on posix with general itoa and fix possible infinite recursion 2015-01-02 16:21:18 +00:00
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 os: Use GetComputerNameEx to get Hostname on win32 2015-02-25 23:16:44 +00:00
types_notwin.go
types_windows.go
types.go os: clarify that ModePerm permission bits are the Unix ones 2015-04-16 16:42:10 +00:00