Anthony Martin | 3859032 | 2012-05-01 22:32:46 -0700 | [diff] [blame] | 1 | #!/bin/rc -e |
| 2 | # Copyright 2012 The Go Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style |
| 4 | # license that can be found in the LICENSE file. |
| 5 | |
Anthony Martin | f08acae | 2013-02-26 09:25:46 -0800 | [diff] [blame] | 6 | rfork e |
| 7 | |
| 8 | eval `{go env} |
| 9 | |
David du Colombier | 610dc92 | 2014-01-28 06:17:38 +0100 | [diff] [blame] | 10 | GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens |
Anthony Martin | f08acae | 2013-02-26 09:25:46 -0800 | [diff] [blame] | 11 | # to be under $GOPATH, then some tests below will fail |
Brad Fitzpatrick | 3b50adb | 2016-05-19 17:43:04 +0000 | [diff] [blame] | 12 | GOBIN = () # Issue 14340 |
Anthony Martin | 3859032 | 2012-05-01 22:32:46 -0700 | [diff] [blame] | 13 | |
Russ Cox | f70f277 | 2015-12-20 14:29:20 -0500 | [diff] [blame] | 14 | exec go tool dist test -rebuild $* |