![]() | |
---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm056.cluster010.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 demonstrates the fuzz corpus behavior for packages outside of the main module. # (See https://golang.org/issue/48495.) [short] skip # Set -modcacherw so that the test behaves the same regardless of whether the # module cache is writable. (For example, on some platforms it can always be # written if the user is running as root.) At one point, a failing fuzz test # in a writable module cache would corrupt module checksums in the cache. env GOFLAGS=-modcacherw # When the upstream module has no test corpus, running 'go test' should succeed, # but 'go test -fuzz=.' should error out before running the test. # (It should NOT corrupt the module cache by writing out new fuzz inputs, # even if the cache is writable.) go get -t example.com/fuzzfail@v0.1.0 go test example.com/fuzzfail ! go test -fuzz=. example.com/fuzzfail ! stdout . stderr '^cannot use -fuzz flag on package outside the main module$' go mod verify # If the module does include a test corpus, 'go test' (without '-fuzz') should # load that corpus and run the fuzz tests against it, but 'go test -fuzz=.' # should continue to be rejected. go get -t example.com/fuzzfail@v0.2.0 ! go test example.com/fuzzfail stdout '^\s*fuzzfail_test\.go:7: oops:' ! go test -fuzz=. example.com/fuzzfail ! stdout . stderr '^cannot use -fuzz flag on package outside the main module$' go mod verify # Packages in 'std' cannot be fuzzed when the corresponding GOROOT module is not # the main module — either the failures would not be recorded or the behavior of # the 'std' tests would change globally. ! go test -fuzz . encoding/json stderr '^cannot use -fuzz flag on package outside the main module$' ! go test -fuzz . cmd/buildid stderr '^cannot use -fuzz flag on package outside the main module$' -- go.mod -- module example.com/m go 1.18 |
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.006 ]-- |