From: Russ Cox Date: Wed, 7 Dec 2011 20:00:44 +0000 (-0500) Subject: test: make array smaller in nilptr test X-Git-Tag: weekly.2011-12-14~155 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3c56a7b17e71eaf4c30203a553669c5ea2e44ce9;p=gostls13.git test: make array smaller in nilptr test Fixes #2314. R=golang-dev, r CC=golang-dev https://golang.org/cl/5437154 --- diff --git a/test/nilptr.go b/test/nilptr.go index 6cf2192047..b0c1df2d95 100644 --- a/test/nilptr.go +++ b/test/nilptr.go @@ -13,7 +13,7 @@ import "unsafe" // cause a memory access fault. This test checks // that Go is doing the correct explicit checks to catch // these nil pointer accesses, not just relying on the hardware. -var dummy [512 << 20]byte // give us a big address space +var dummy [256 << 20]byte // give us a big address space func main() { // the test only tests what we intend to test