mirror of
https://github.com/golang/go
synced 2024-11-06 12:36:22 -07:00
3b50adbc4f
Fixes #14340 Change-Id: I43e1624fafc972fb868708c3857fc8acf1bfbbd7 Reviewed-on: https://go-review.googlesource.com/23255 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Rob Pike <r@golang.org>
15 lines
405 B
Bash
Executable File
15 lines
405 B
Bash
Executable File
#!/bin/rc -e
|
|
# Copyright 2012 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
rfork e
|
|
|
|
eval `{go env}
|
|
|
|
GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
|
|
# to be under $GOPATH, then some tests below will fail
|
|
GOBIN = () # Issue 14340
|
|
|
|
exec go tool dist test -rebuild $*
|