Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 365 for gopark (0.1 sec)

  1. src/cmd/go/testdata/script/list_shadow.txt

    stdout '^\(.*gopath(\\|/)src(\\|/)shadow(\\|/)root2(\\|/)src(\\|/)foo\) \('$WORK'(\\|/)?gopath(\\|/)src(\\|/)shadow(\\|/)root1(\\|/)src(\\|/)foo\)$'
    
    # The error for go install should mention the conflicting directory.
    ! go install -n ./shadow/root2/src/foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_why_download_graph.txt

    # TODO(bcmills): clarify the interaction with #44435
    
    go mod download rsc.io/quote
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.info
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.mod
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.zip
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.info
    ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_trimpath.txt

    
    # Same sequence of tests but in GOPATH mode.
    # A binary built without -trimpath should contain GOPATH and GOROOT.
    env GO111MODULE=off
    cd $WORK
    env GOPATH=$WORK/a
    go build -o paths-dbg.exe paths
    exec ./paths-dbg.exe paths-dbg.exe
    stdout 'binary contains GOPATH: true'
    stdout 'binary contains an empty GOROOT'
    
    # A binary built with -trimpath should not contain GOPATH.
    go build -trimpath -o paths-a.exe paths
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_empty.txt

    [!race] skip
    
    cd $GOPATH/src/empty/pkg
    go test -cover -coverpkg=. -race
    
    [short] stop # Only run first case in short mode
    
    cd $GOPATH/src/empty/test
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/xtest
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/pkgtest
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/pkgxtest
    go test -cover -coverpkg=. -race
    
    cd $GOPATH/src/empty/pkgtestxtest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/gopath_paths.txt

    env GO111MODULE=off
    
    env ORIG_GOPATH=$GOPATH
    
    # The literal path '.' in GOPATH should be rejected.
    env GOPATH=.
    ! go build go-cmd-test/helloworld.go
    stderr 'GOPATH entry is relative'
    
    # It should still be rejected if the requested package can be
    # found using another entry.
    env GOPATH=${:}$ORIG_GOPATH${:}.
    ! go build go-cmd-test
    stderr 'GOPATH entry is relative'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 18 21:48:52 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_pkgall_imports.txt

    [short] skip
    cd $GOPATH/src/example.com/cov
    
    env GO111MODULE=on
    go test -coverpkg=all ./...
    
    env GO111MODULE=off
    go test -coverpkg=all ./...
    
    -- $GOPATH/src/example.com/cov/go.mod --
    module example.com/cov
    
    -- $GOPATH/src/example.com/cov/notest/notest.go --
    package notest
    
    func Foo() {}
    
    -- $GOPATH/src/example.com/cov/onlytest/onlytest_test.go --
    package onlytest_test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 18:14:47 UTC 2021
    - 870 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/gopath_install.txt

    # Regression test for 'go install' locations in GOPATH mode.
    env GO111MODULE=off
    [short] skip
    
    # Without $GOBIN set, binaries should be installed into the GOPATH bin directory.
    env GOBIN=
    rm $GOPATH/bin/go-cmd-test$GOEXE
    go install go-cmd-test
    exists $GOPATH/bin/go-cmd-test$GOEXE
    
    # With $GOBIN set, binaries should be installed to $GOBIN.
    env GOBIN=$WORK/bin1
    mkdir -p $GOBIN
    go install go-cmd-test
    exists $GOBIN/go-cmd-test$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/env_write.txt

    env root=
    [GOOS:windows] env root=c:
    env GOPATH=
    go env -w GOPATH=$root/non-exist/gopath
    ! stderr .+
    grep GOPATH=$root/non-exist/gopath $WORK/envdir/go/env
    go env GOPATH
    stdout /non-exist/gopath
    
    # go env -w does not override OS environment, and warns about that
    env GOPATH=$root/other
    go env -w GOPATH=$root/non-exist/gopath2
    stderr 'warning: go env -w GOPATH=... does not override conflicting OS environment variable'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_cd_gopath_different.txt

    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	dir := os.Args[1]
    	gopath := os.Args[2]
    	switch os.Args[3] {
    		case "IDENTITY":
    		case "REPLACE_SLASH": gopath = strings.ReplaceAll(gopath, `\`, `/`)
    		case "UPPER": gopath = strings.ToUpper(gopath)
    		case "LOWER": gopath = strings.ToLower(gopath)
    		default: fmt.Fprintln(os.Stderr, "bad op"); os.Exit(1)
    	}
    	cmd := exec.Command("go", os.Args[4:]...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_find.txt

    # gplink1/src/empty where gopathlink -> GOPATH
    symlink $WORK/gopathlink -> gopath
    cd $WORK/gopathlink/src/empty
    go mod init
    rm go.mod
    
    # GOPATH/src/link where link -> out of GOPATH
    symlink $GOPATH/src/link -> $WORK/empty
    cd $WORK/empty
    ! go mod init
    cd $GOPATH/src/link
    go mod init
    stderr link
    rm go.mod
    
    # GOPATH/src/empty where GOPATH itself is a symlink
    env GOPATH=$WORK/gopathlink
    cd $GOPATH/src/empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top