diff options
Diffstat (limited to 'src/cmd/go/testdata/script/get_issue22125.txt')
-rw-r--r-- | src/cmd/go/testdata/script/get_issue22125.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/get_issue22125.txt b/src/cmd/go/testdata/script/get_issue22125.txt new file mode 100644 index 0000000..3418df8 --- /dev/null +++ b/src/cmd/go/testdata/script/get_issue22125.txt @@ -0,0 +1,14 @@ +# This test verifies a fix for a security issue; see https://go.dev/issue/22125. + +[!net] skip +[!git] skip +[!exec:svn] skip + +env GO111MODULE=off + +cd $GOPATH +! go get -u vcs-test.golang.org/go/test1-svn-git +stderr 'src'${/}'vcs-test.* uses git, but parent .*src'${/}'vcs-test.* uses svn' + +[!case-sensitive] ! go get -u vcs-test.golang.org/go/test2-svn-git/test2main +[!case-sensitive] stderr 'src'${/}'vcs-test.* uses git, but parent .*src'${/}'vcs-test.* uses svn' |