Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 952 for STDOUT (0.29 sec)

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

    [GOOS:plan9] env userconfig=$home/lib
    
    go telemetry
    stdout 'local'
    
    go telemetry off
    go telemetry
    stdout 'off'
    go env GOTELEMETRY
    stdout 'off'
    
    go telemetry local
    go telemetry
    stdout 'local'
    go env GOTELEMETRY
    stdout 'local'
    
    go telemetry on
    go telemetry
    stdout 'on'
    go env GOTELEMETRY
    stdout 'on'
    
    go env
    stdout 'GOTELEMETRY=''?on''?'
    stdout 'GOTELEMETRYDIR=''?'$userconfig'[\\/]go[\\/]telemetry''?'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/gotoolchain_local.txt

    stdout go1.400
    
    # GOTOOLCHAIN=version+auto sets a minimum.
    env GOTOOLCHAIN=go1.600+auto
    go version
    stdout go1.600
    
    env GOTOOLCHAIN=go1.400.0+auto
    go version
    stdout go1.400.0
    
    # GOTOOLCHAIN=version+path sets a minimum too.
    env GOTOOLCHAIN=go1.600+path
    go version
    stdout go1.600
    
    env GOTOOLCHAIN=go1.400+path
    go version
    stdout go1.400
    
    # Create a go.mod file and test interactions with auto and path.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 21:19:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/list_perm.txt

    ! go list ./noread
    ! stdout '^example.com/noread$'
    ! stderr 'matched no packages'
    
    ! go list example.com/noread
    ! stdout '^example.com/noread$'
    ! stderr 'matched no packages'
    
    # Check filesystem-relative patterns.
    
    ! go list ./...
    ! stdout '^example.com/noread$'
    ! stderr 'matched no packages'
    stderr '^pattern ./...: '
    
    ! go list ./noread/...
    ! stdout '^example.com/noread$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/env_write.txt

    env home=$HOME/plan9home
    go env GOENV
    [GOOS:aix] stdout $HOME/.config/go/env
    [GOOS:darwin] stdout $HOME'/Library/Application Support/go/env'
    [GOOS:freebsd] stdout $HOME/.config/go/env
    [GOOS:linux] stdout $HOME/.config/go/env
    [GOOS:netbsd] stdout $HOME/.config/go/env
    [GOOS:openbsd] stdout $HOME/.config/go/env
    [GOOS:plan9] stdout $HOME/plan9home/lib/go/env
    [GOOS:windows] stdout $HOME\\windowsappdata\\go\\env
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/go/doc/testdata/example.go

    	ok = true
    
    	var eg InternalExample
    
    	stdout, stderr := os.Stdout, os.Stderr
    	defer func() {
    		os.Stdout, os.Stderr = stdout, stderr
    		if e := recover(); e != nil {
    			fmt.Printf("--- FAIL: %s\npanic: %v\n", eg.Name, e)
    			os.Exit(1)
    		}
    	}()
    
    	for _, eg = range examples {
    		if *chatty {
    			fmt.Printf("=== RUN: %s\n", eg.Name)
    		}
    
    		// capture stdout and stderr
    		r, w, err := os.Pipe()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/godebug_default.txt

    ! stdout panicnil
    stdout randautoseed=0
    
    # Go 1.21 work module should NOT set panicnil=1 in Go 1.20 dependency.
    cp go.mod.21 go.mod
    go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}' q
    ! stdout panicnil=1
    ! stdout randautoseed
    
    go mod download rsc.io/panicnil # for go.sum
    go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}' rsc.io/panicnil
    ! stdout panicnil=1
    ! stdout randautoseed
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                this.stdErr = stdErr;
            }
        }
    
        private static class IndexBuilder {
            final Region stdOut = new Region();
            final Region stdErr = new Region();
    
            private final ImmutableMap.Builder<Long, Index> children = ImmutableMap.builder();
    
            void add(long key, Index index) {
                if (stdOut.start < 0) {
                    stdOut.start = index.stdOut.start;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_list.txt

    go list -mod=mod -m -f '{{.Path}} {{.Main}} {{.GoMod}} {{.Dir}}' all
    stdout '^x true .*[\\/]src[\\/]go.mod .*[\\/]src$'
    stdout '^rsc.io/quote false .*[\\/]v1.5.2.mod $'
    
    # list {{.Dir}} shows dependency after download (and go list without -m downloads it)
    go list -mod=mod -f '{{.Dir}}' rsc.io/quote
    stdout '.*mod[\\/]rsc.io[\\/]quote@v1.5.2$'
    
    # downloaded dependencies are read-only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 18:16:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_json_panic_exit.txt

    go test -json ./pass
    stdout '"Action":"pass","Package":"[^"]*","Elapsed":[^"]*}\n\z'
    ! stdout '"Test":.*\n\z'
    
    # 'go test -json' should say a test passes if it exits 0 and prints nothing.
    # TODO(golang.org/issue/29062): this should fail in the future.
    go test -json ./exit0main
    stdout '"Action":"pass".*\n\z'
    ! stdout '"Test":.*\n\z'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. cni/pkg/util/executil.go

    	externalCommand := exec.Command(cmd, args...)
    	stdout := &bytes.Buffer{}
    	stderr := &bytes.Buffer{}
    	externalCommand.Stdout = stdout
    	externalCommand.Stderr = stderr
    
    	err := externalCommand.Run()
    
    	if len(stdout.String()) != 0 {
    		log.Debugf("Command output: \n%v", stdout.String())
    	}
    
    	if err != nil || len(stderr.Bytes()) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top