From: Russ Cox Date: Thu, 3 Nov 2016 01:52:27 +0000 (-0400) Subject: cmd/go: fix TestGoGetDashTIssue8181 X-Git-Tag: go1.8beta1~349 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3ce46e3e9c25d6234f49ab483300e538c65089d0;p=gostls13.git cmd/go: fix TestGoGetDashTIssue8181 The test case was importing golang.org/x/build/cmd/cl, which is a package main and cannot be imported. The test case (stored in a separate repo) has been changed to import golang.org/x/build/gerrit. Update the test accordingly. Fixes #17702. Change-Id: I80e150092111b5a04bb00c992b32edb271edb086 Reviewed-on: https://go-review.googlesource.com/32616 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index a7712ed5a4..15cd534c77 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -1913,7 +1913,7 @@ func TestGoGetDashTIssue8181(t *testing.T) { tg.setenv("GOPATH", tg.path(".")) tg.run("get", "-v", "-t", "github.com/rsc/go-get-issue-8181/a", "github.com/rsc/go-get-issue-8181/b") tg.run("list", "...") - tg.grepStdout("x/build/cmd/cl", "missing expected x/build/cmd/cl") + tg.grepStdout("x/build/gerrit", "missing expected x/build/gerrit") } func TestIssue11307(t *testing.T) {