Commit d0be0721 authored by Leigh McCulloch's avatar Leigh McCulloch Committed by Ian Lance Taylor

unix: correct misspelling in test output

The TestRlimitAs function has fatal output that uses the word 'suceeded'
that is a misspelling of 'succeeded'.

Change-Id: Id235c9e38338e09c5c06c4ed4a0037afc8f6f2bd
GitHub-Last-Rev: 84d6abe5768b9b2c82541ed7504e30a3a192b972
GitHub-Pull-Request: golang/sys#17
Reviewed-on: https://go-review.googlesource.com/134220
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 4526dd3c
......@@ -178,7 +178,7 @@ func TestRlimitAs(t *testing.T) {
// should fail. See 'man 2 getrlimit'.
_, err = unix.Mmap(-1, 0, 2*unix.Getpagesize(), unix.PROT_NONE, unix.MAP_ANON|unix.MAP_PRIVATE)
if err == nil {
t.Fatal("Mmap: unexpectedly suceeded after setting RLIMIT_AS")
t.Fatal("Mmap: unexpectedly succeeded after setting RLIMIT_AS")
}
err = unix.Setrlimit(unix.RLIMIT_AS, &rlim)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment