runtime: skip TestTimePprof on illumos

On illumos nanotime calls libc, like on the other systems for which
TestTimePprof is skipped.

For #43118

Change-Id: I370d3f098a261185920cb1e3e3402d16200e301a
Reviewed-on: https://go-review.googlesource.com/c/go/+/366737
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Tobias Klauser 2021-11-24 15:37:21 +01:00 committed by Tobias Klauser
parent 5527d7ff79
commit 7e5331ac44

View file

@ -717,7 +717,7 @@ func TestTimePprof(t *testing.T) {
// This test is unreliable on any system in which nanotime
// calls into libc.
switch runtime.GOOS {
case "aix", "darwin", "openbsd", "solaris":
case "aix", "darwin", "illumos", "openbsd", "solaris":
t.Skipf("skipping on %s because nanotime calls libc", runtime.GOOS)
}