Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,282 for STDOUT (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/go/testdata/script/mod_get_ambiguous_pkg.txt

    go list -m all
    stdout '^example.net/ambiguous v0.1.0$'
    ! stdout '^example.net/ambiguous/nested '
    
    
    # The user should be able to make the command unambiguous by explicitly
    # upgrading the conflicting module...
    
    go get example.net/ambiguous@v0.2.0 example.net/ambiguous/nested/pkg@v0.1.0
    go list -m all
    stdout '^example.net/ambiguous/nested v0.1.0$'
    stdout '^example.net/ambiguous v0.2.0$'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_patterns.txt

    stdout 'example.com/m/useunicode: \[all \.\.\. example.com/m/... ./...\]'
    stdout 'example.com/m/useunsafe: \[all \.\.\. example.com/m/... ./...\]'
    [cgo] stdout 'example.com/m/useC: \[all \.\.\. example.com/m/... ./...\]'
    [!cgo] ! stdout example.com/m/useC
    stdout 'example.com/unused/useerrors: \[\.\.\.\]' # but not "all"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_notall.txt

    # by other root patterns.
    
    env GOFLAGS=-mod=mod
    cp go.mod go.mod.orig
    
    go list -deps all x/otherroot
    
    stdout '^x/inall$'
    stdout '^x/inall/fromtest$'
    stdout '^x/inall/fromtestinall$'
    stdout '^x/otherroot$'
    stdout '^x/otherdep$'
    
    ! stdout '^x/fromotherroottest$'
    ! stdout '^y/fromotherdeptest$'
    
    cmp go.mod go.mod.orig
    
    # With -deps -test, test dependencies of other roots should be included,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 11 13:08:54 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/version_replace.txt

    go install example.com/printversion
    
    go run example.com/printversion
    cmp stdout out.txt
    
    go version -m $GOPATH/bin/printversion$GOEXE
    stdout '^.*[/\\]bin[/\\]printversion'$GOEXE': .*$'
    stdout '^	path	example.com/printversion$'
    stdout '^	mod	example.com/printversion	v0.1.0$'
    stdout '^	=>	example.com/printversion	v1.0.0	h1:.*$'
    stdout '^	dep	example.com/version	v1.0.0$'
    stdout '^	=>	example.com/version	v1.0.1	h1:.*$'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 989 bytes
    - Viewed (0)
  10. src/cmd/go/terminal_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		defer w.Close()
    		stdout, stderr := runTerminalPassthrough(t, r, w)
    		if !stdout {
    			t.Errorf("stdout is not a terminal")
    		}
    		if !stderr {
    			t.Errorf("stderr is not a terminal")
    		}
    	})
    }
    
    func runTerminalPassthrough(t *testing.T, r, w *os.File) (stdout, stderr bool) {
    	cmd := testenv.Command(t, testGo, "test", "-run=^$")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 18:18:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top