]> Cypherpunks repositories - gostls13.git/commit
cmd/go: restore TestLegacyMod as a script test
authorBryan C. Mills <bcmills@google.com>
Thu, 14 Jul 2022 20:35:37 +0000 (16:35 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 16 Aug 2022 16:15:13 +0000 (16:15 +0000)
commit98f3eb2d3edc00ac3c39f23db157b42d14fe6726
tree196a4f054785c1e1aeceedc6f7ce951beda45db7
parenta135f8e251120e89520bb2c226266b8256f81de0
cmd/go: restore TestLegacyMod as a script test

This test was apparently mistakenly removed without a replacement in
CL 213223, but its testdata was left in the tree. This change removes
the orphaned testdata subdirectory, and restores the test that
previously used that data as a self-contained script.

For #27494.

Change-Id: Ice81895a44c558aaab198b8ef7ec046d92f5d58f
Reviewed-on: https://go-review.googlesource.com/c/go/+/417658
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/testdata/modlegacy/src/new/go.mod [deleted file]
src/cmd/go/testdata/modlegacy/src/new/new.go [deleted file]
src/cmd/go/testdata/modlegacy/src/new/p1/p1.go [deleted file]
src/cmd/go/testdata/modlegacy/src/new/p2/p2.go [deleted file]
src/cmd/go/testdata/modlegacy/src/new/sub/go.mod [deleted file]
src/cmd/go/testdata/modlegacy/src/new/sub/inner/go.mod [deleted file]
src/cmd/go/testdata/modlegacy/src/new/sub/inner/x/x.go [deleted file]
src/cmd/go/testdata/modlegacy/src/new/sub/x/v1/y/y.go [deleted file]
src/cmd/go/testdata/modlegacy/src/old/p1/p1.go [deleted file]
src/cmd/go/testdata/modlegacy/src/old/p2/p2.go [deleted file]
src/cmd/go/testdata/script/list_legacy_mod.txt [new file with mode: 0644]