mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-03 23:57:32 -04:00
unix: refresh types and error consts on solaris/illumos
Generated on SunOS 5.11 Change-Id: Ia3a00e9fa4267a748e1d8434ae8a53ffe44494be Reviewed-on: https://go-review.googlesource.com/c/sys/+/261461 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
2da7054afa
commit
9029056a59
@@ -411,6 +411,12 @@ func TestRlimit(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Setrlimit: restore failed: %#v %v", rlimit, err)
|
||||
}
|
||||
|
||||
// make sure RLIM_INFINITY can be assigned to Rlimit members
|
||||
_ = unix.Rlimit{
|
||||
Cur: unix.RLIM_INFINITY,
|
||||
Max: unix.RLIM_INFINITY,
|
||||
}
|
||||
}
|
||||
|
||||
func TestSeekFailure(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user