/
/
opt
/
golang
/
1.22.0
/
src
/
cmd
/
go
/
testdata
/
script
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.137
PHP 8.3.16
Dir:
/opt/golang/1.22.0/src/cmd/go/testdata/script
Edit:
/opt/golang/1.22.0/src/cmd/go/testdata/script/mod_insecure_issue63845.txt
# Regression test for https://go.dev/issue/63845: # If 'git ls-remote' fails for all secure protocols, # we should fail instead of falling back to an arbitrary protocol. # # Note that this test does not use the local vcweb test server # (vcs-test.golang.org), because the hook for redirecting to that # server bypasses the "ping to determine protocol" logic # in cmd/go/internal/vcs. [!net:golang.org] skip [!git] skip [short] skip 'tries to access a nonexistent external Git repo' env GOPRIVATE=golang.org env CURLOPT_TIMEOUT_MS=100 env GIT_SSH_COMMAND=false ! go get -x golang.org/nonexist.git@latest stderr '^git ls-remote https://golang.org/nonexist$' stderr '^git ls-remote git\+ssh://golang.org/nonexist' stderr '^git ls-remote ssh://golang.org/nonexist$' ! stderr 'git://' stderr '^go: golang.org/nonexist.git@latest: no secure protocol found for repository$' -- go.mod -- module example go 1.19
Ukuran: 908 B