]> Cypherpunks repositories - gostls13.git/commit
syscall: test Gettimeofday everywhere, not just on Darwin
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 10 Aug 2016 19:46:48 +0000 (19:46 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Aug 2016 00:17:21 +0000 (00:17 +0000)
commit66da885594b6dbf61d93b627f5f2d5cd34cf9023
tree742099f2b1090d3bf1ca222cac229c5f05e1acde
parent664c4a1f87fb48d7af6880fd9e4b504049c37b9b
syscall: test Gettimeofday everywhere, not just on Darwin

The Darwin-only restriction was because we were late in the Go 1.7
cycle when the test was added.

In the process, I noticed Gettimeofday wasn't in the "unimplemented
midden heap" section of syscall_nacl.go, despite this line in the
original go1.txt:

pkg syscall, func Gettimeofday(*Timeval) error

So, add it, returning ENOSYS like the others.

Change-Id: Id7e02e857b753f8d079bee335c22368734e92254
Reviewed-on: https://go-review.googlesource.com/26772
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Quentin Smith <quentin@golang.org>
src/syscall/syscall_darwin_test.go [deleted file]
src/syscall/syscall_nacl.go
src/syscall/syscall_test.go