aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_linux_test.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-02-26 11:15:41 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2018-02-26 17:54:31 +0000
commit495eb3f922c8362949812fe65237d2158e25afe5 (patch)
tree92dcc50616f9b0df557f7cd10e503a9402cbc57e /src/syscall/syscall_linux_test.go
parentad9814de612bbee6c7657ac3e27bcba9b853335e (diff)
downloadgo-495eb3f922c8362949812fe65237d2158e25afe5.tar.xz
syscall: remove/update outdated TODO comments
Error returns for linux/arm syscalls are handled since a long time. Remove another list of unimplemented syscalls, following CL 96315. The root-only check in TestSyscallNoError was shown to be sufficient as part of CL 84485 already. NetBSD and OpenBSD do not implement the sendfile syscall (yet), so add a link to golang.org/issue/5847 Change-Id: I07efc3c3203537a4142707385f31b59dc0ecca42 Reviewed-on: https://go-review.googlesource.com/97115 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/syscall/syscall_linux_test.go')
-rw-r--r--src/syscall/syscall_linux_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/syscall/syscall_linux_test.go b/src/syscall/syscall_linux_test.go
index becd267101..932ccee491 100644
--- a/src/syscall/syscall_linux_test.go
+++ b/src/syscall/syscall_linux_test.go
@@ -180,8 +180,6 @@ func TestSyscallNoError(t *testing.T) {
t.Skip("skipping on non-32bit architecture")
}
- // TODO(tklauser) is this check enough? Otherwise test for being in a non-k8s
- // Linux VM via testenv.Builder().
if os.Getuid() != 0 {
t.Skip("skipping root only test")
}