1
0
mirror of https://github.com/golang/go synced 2024-10-03 14:21:22 -06:00
go/src/os
David du Colombier 187cccbde1 os: fix TestMkdirAllAtSlash on Plan 9
Since CL 3676, the TestMkdirAllAtSlash test
depends on syscall.EROFS, which isn't defined
on Plan 9.

This change works around this issue by
defining a system dependent isReadonlyError
function.

Change-Id: If972fd2fe4828ee3bcb8537ea7f4ba29f7a87619
Reviewed-on: https://go-review.googlesource.com/3696
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-02 17:01:45 +00:00
..
exec os/exec: tell lsof not to block 2014-11-05 20:25:20 -08:00
signal all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
user
dir_plan9.go
dir_unix.go os: do not assume syscall i/o funcs return n=0 on error 2014-10-28 15:00:13 -04:00
dir_windows.go
doc.go
env_test.go
env_unix_test.go
env.go
error_plan9.go
error_test.go
error_unix.go
error_windows_test.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
exec.go
export_test.go
file_plan9.go os: document that users of Fd should keep f alive 2014-11-06 09:36:51 -05:00
file_posix.go os: do not assume syscall i/o funcs return n=0 on error 2014-10-28 15:00:13 -04:00
file_unix.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
file_windows.go os: document that users of Fd should keep f alive 2014-11-06 09:36:51 -05:00
file.go os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
getwd_darwin.go
getwd.go
os_test.go
os_unix_test.go os: fix TestMkdirAllAtSlash on Plan 9 2015-02-02 17:01:45 +00:00
os_windows_test.go
path_plan9.go
path_test.go os: fix TestMkdirAllAtSlash on Plan 9 2015-02-02 17:01:45 +00:00
path_unix.go
path_windows.go
path.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 os: emulate plan 9 libc in stat 2015-01-26 06:34:07 +00:00
stat_solaris.go
stat_windows.go
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
types_notwin.go
types_windows.go
types.go