Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,282 for STDOUT (0.1 sec)

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

    [!GOEXPERIMENT:coverageredesign] stdout 'pkg1	\[no test files\]'
    [GOEXPERIMENT:coverageredesign] stdout 'pkg1		coverage: 0.0% of statements'
    stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
    stdout 'pkg3	\S+	coverage: 100.0% of statements'
    stdout 'pkg4	\S+	coverage: \[no statements\]'
    
    # Validate
    go tool cover -func=cov.dat
    [GOEXPERIMENT:coverageredesign] stdout 'pkg1/a.go:5:\s+F\s+0.0%'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:36:30 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/testdata/script/mod_list_retract.txt

    ! stdout .
    
    # 'go list -retracted pkg' shows retraction.
    go list -retracted -f '{{with .Module}}{{with .Retracted}}retracted{{end}}{{end}}' example.com/retract
    stdout retracted
    
    # 'go list -m' does not show retraction.
    go list -m -f '{{with .Retracted}}retracted{{end}}' example.com/retract
    ! stdout .
    
    # 'go list -m -retracted' shows retraction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 13 00:19:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_upgrade_pseudo.txt

    # Start at v0.1.1-0.20190429073117-b5426c86b553
    go get example.com/pseudoupgrade@b5426c8
    go list -m -u all
    stdout '^example.com/pseudoupgrade v0.1.1-0.20190429073117-b5426c86b553$'
    
    # 'get -u' should not downgrade to the (lower) tagged version.
    go get -u
    go list -m -u all
    stdout '^example.com/pseudoupgrade v0.1.1-0.20190429073117-b5426c86b553$'
    
    # 'get example.com/pseudoupgrade@upgrade' should not downgrade.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/version_buildvcs_hg.txt

    cd a
    go install
    go version -m $GOBIN/a$GOEXE
    ! stdout vcs.revision
    ! stdout vcs.time
    stdout '^\tbuild\tvcs.modified=true$'
    cd ..
    
    # Revision and commit time are tagged for repositories with commits.
    exec hg add a README
    exec hg commit -m 'initial commit'
    cd a
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs.revision='
    stdout '^\tbuild\tvcs.time='
    stdout '^\tbuild\tvcs.modified=false$'
    rm $GOBIN/a$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 30 18:09:02 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/go/testdata/script/test_benchmark_chatty_fail.txt

    ! go test chatty_test.go -v -bench . chatty_bench
    
    # Sanity check that output occurs.
    stdout -count=2 'this is sub-0'
    stdout -count=2 'this is sub-1'
    stdout -count=2 'this is sub-2'
    stdout -count=1 'error from sub-0'
    stdout -count=1 'error from sub-1'
    stdout -count=1 'error from sub-2'
    
    # Benchmarks should not print CONT.
    ! stdout CONT
    
    -- chatty_test.go --
    package chatty_bench
    
    import (
    	"testing"
    	"fmt"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 21 18:28:05 UTC 2020
    - 739 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top