]> Cypherpunks repositories - gostls13.git/commit
runtime: revise TestSetPanicOnFault
authorRuss Cox <rsc@golang.org>
Fri, 19 Sep 2014 01:43:09 +0000 (21:43 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 19 Sep 2014 01:43:09 +0000 (21:43 -0400)
commit5fdea3430aed2224a88efa764034ef2ee2b4ccb1
treef0d918ac4dd9824ee263a026b7949c6934c078cf
parent2ed209eaf59c3b7372258419c5fa1f5b0abc507e
runtime: revise TestSetPanicOnFault

We can't assume all those addresses are unmapped.
But at least one should be.

What we're really testing is that the program doesn't crash.

Fixes #8542.

LGTM=iant
R=golang-codereviews, iant, minux
CC=golang-codereviews
https://golang.org/cl/144120043
src/runtime/runtime_test.go