Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,219 for syserr (0.16 sec)

  1. src/syscall/exec_pdeathsig_test.go

    	}
    	chldStdout, err := cmd.StdoutPipe()
    	if err != nil {
    		t.Fatalf("failed to create new stdout pipe: %v", err)
    	}
    	stderr := new(strings.Builder)
    	cmd.Stderr = stderr
    
    	err = cmd.Start()
    	defer func() {
    		chldStdin.Close()
    		cmd.Wait()
    		if stderr.Len() > 0 {
    			t.Logf("stderr:\n%s", stderr)
    		}
    	}()
    	if err != nil {
    		t.Fatalf("failed to start first child process: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 21:23:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/embed.txt

    go list -test -f '{{.XTestEmbedFiles}}'
    stdout '\[z.txt\]'
    
    # build embeds x.txt
    go build -x
    stderr 'x.txt'
    
    # build uses cache correctly
    go build -x
    ! stderr 'x.txt'
    cp x.txt2 x.txt
    go build -x
    stderr 'x.txt'
    
    # build rejects invalid names
    cp x.go2 x.go
    go build -x
    cp x.txt .git
    ! go build -x
    stderr '^x.go:5:12: pattern [*]t: cannot embed file [.]git: invalid name [.]git$'
    rm .git
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_retract_rationale.txt

    stderr '^go: warning: example.com/retract/rationale@v1.0.0-multiline2: retracted by module author: short description$'
    ! stderr 'detail'
    
    # Same for 'go list'.
    go list -m -retracted -f '{{.Retracted}}' example.com/retract/rationale
    cmp stdout multiline
    
    
    # 'go get' should omit long messages.
    go get example.com/retract/rationale@v1.0.0-long
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_changes.txt

    go get rsc.io/sampler@none
    stderr '^go: downgraded rsc.io/quote v1.5.2 => v1.3.0$'
    stderr '^go: removed rsc.io/sampler v1.3.0$'
    ! stderr '^go get.*golang.org/x/text'
    cmp go.mod go.mod.downgrade
    
    # When removing or downgrading a requirement, 'go get' also prints a message
    # for explicit dependencies removed as a consequence.
    cp go.mod.usequote go.mod
    go get rsc.io/quote@v1.5.1
    stderr '^go: downgraded rsc.io/quote v1.5.2 => v1.5.1$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/work_errors_pos.txt

    cp go.work.repeated.txt go.work
    ! go list
    stderr '^go.work:4: path .* appears multiple times in workspace$'
    
    cp go.work.badgodebug.txt go.work
    ! go list
    stderr '^go.work:3: unknown godebug "foo"$'
    
    cp go.work.unparsable.txt go.work
    ! go list
    stderr '^go.work:5: unknown directive: notadirective'
    
    cp go.work.firstlineerr.txt go.work
    ! go list
    stderr '^go.work:1: unknown godebug "bar"$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 926 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_download_private_vcs.txt

    stderr 'Confirm the import path was entered correctly.'
    stderr 'If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.'
    ! stdout .
    
    # Fetching a nonexistent commit should return an "unknown revision"
    # error message.
    ! go mod download github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. operator/pkg/util/clog/clog.go

    	}
    	return &ConsoleLogger{
    		stdOut: stdOut,
    		stdErr: stdErr,
    		scope:  s,
    	}
    }
    
    // NewDefaultLogger creates a new logger that outputs to stdout/stderr at default scope.
    func NewDefaultLogger() *ConsoleLogger {
    	return NewConsoleLogger(os.Stdout, os.Stderr, nil)
    }
    
    func (l *ConsoleLogger) LogAndPrint(v ...any) {
    	if len(v) == 0 {
    		return
    	}
    	s := fmt.Sprint(v...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_run_pkg_version.txt

    stderr '^go: found rsc.io/quote in rsc.io/quote v1.5.2$'
    stderr '^Hello, world.$'
    
    
    # 'go run pkg@version' should report an error if pkg is not a main package.
    ! go run example.com/cmd/err@v1.0.0
    stderr '^package example.com/cmd/err is not a main package$'
    
    
    # 'go run pkg@version' should report errors if the module contains
    # replace or exclude directives.
    go mod download example.com/cmd@v1.0.0-replace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_sumdb.txt

    ! go get rsc.io/quote
    stderr 'go: rsc.io/quote@v1.5.2: verifying module: checksum mismatch'
    stderr 'downloaded: h1:3fEy'
    stderr 'localhost.localdev/sumdb: h1:wrong'
    stderr 'SECURITY ERROR\nThis download does NOT match the one reported by the checksum server.'
    ! go get rsc.io/sampler
    ! go get golang.org/x/text
    
    go mod edit -require rsc.io/quote@v1.5.2
    ! go mod tidy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/govcs.txt

    env GO111MODULE=on
    env proxy=$GOPROXY
    env GOPROXY=direct
    
    # GOVCS stops go get
    env GOVCS='*:none'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for public github.com/google/go-cmp; see ''go help vcs''$'
    env GOPRIVATE='github.com/google'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for private github.com/google/go-cmp; see ''go help vcs''$'
    
    # public pattern works
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top