Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,219 for syserr (0.24 sec)

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

    go get ./use/nothing
    ! stderr 'module.*is deprecated'
    
    # 'go get pkg' should show a deprecation message for the module providing pkg.
    go get example.com/deprecated/a
    stderr '^go: module example.com/deprecated/a is deprecated: in example.com/deprecated/a@v1.9.0$'
    go get example.com/deprecated/a@v1.0.0
    stderr '^go: module example.com/deprecated/a is deprecated: in example.com/deprecated/a@v1.9.0$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_deprecate_install.txt

    ! go get example.com/cmd/a
    stderr '^go: go.mod file not found in current directory or any parent directory.$'
    stderr '^\t''go get'' is no longer supported outside a module.$'
    
    cp go.mod.orig go.mod
    
    # 'go get' inside a module with a non-main package does not print a message.
    # This will stop building in the future, but it's the command we want to use.
    go get rsc.io/quote
    ! stderr deprecated
    ! stderr 'no longer installs'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:08 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreSpec.groovy

            writer.onOutput(2, 1, output(StdErr, "[out-3]"))
            writer.onOutput(1, 1, output(StdErr, "[out-4]"))
            writer.onOutput(1, 1, output(StdOut, "[out-5]"))
            writer.onOutput(1, 2, output(StdOut, "[out-6]"))
            writer.close()
            def reader = output.reader()
    
            then:
            collectOutput(reader, 1, 1, StdOut) == "[out-2][out-5]"
            collectOutput(reader, 1, 1, StdErr) == "[out-4]"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_cache_pgo.txt

    mkdir $GOCACHE
    
    # Building trivial non-main package should run preprofile the first time.
    go build -x -pgo=default.pgo lib.go
    stderr 'preprofile.*default\.pgo'
    
    # ... but not again ...
    go build -x -pgo=default.pgo lib.go
    ! stderr 'preprofile.*default\.pgo'
    
    # ... unless we use -a.
    go build -a -x -pgo=default.pgo lib.go
    stderr 'preprofile.*default\.pgo'
    
    # ... building a different package should not run preprofile again, instead
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 18:28:25 UTC 2024
    - 927 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_insecure_issue63845.txt

    env GOPRIVATE=golang.org
    env CURLOPT_TIMEOUT_MS=100
    env GIT_SSH_COMMAND=false
    
    ! go get -x golang.org/nonexist.git@latest
    stderr '^git ls-remote https://golang.org/nonexist$'
    stderr '^git ls-remote git\+ssh://golang.org/nonexist'
    stderr '^git ls-remote ssh://golang.org/nonexist$'
    ! stderr 'git://'
    stderr '^go: golang.org/nonexist.git@latest: no secure protocol found for repository$'
    
    -- go.mod --
    module example
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 21:10:03 UTC 2023
    - 908 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_fs_patterns.txt

    # non-existent directory should not prompt lookups
    ! go build -mod=readonly example.com/nonexist
    stderr 'import lookup disabled'
    
    ! go build -mod=readonly ./nonexist
    ! stderr 'import lookup disabled'
    stderr '^stat '$GOPATH'[/\\]src[/\\]x[/\\]nonexist: directory not found'
    
    ! go build -mod=readonly ./go.mod
    ! stderr 'import lookup disabled'
    stderr 'main module \(m\) does not contain package m/go.mod'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 18:09:53 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_cd_gopath_different.txt

    		case "LOWER": gopath = strings.ToLower(gopath)
    		default: fmt.Fprintln(os.Stderr, "bad op"); os.Exit(1)
    	}
    	cmd := exec.Command("go", os.Args[4:]...)
    	cmd.Dir = dir
    	cmd.Env = append(os.Environ(), "GOPATH="+gopath)
    	cmd.Stdout = os.Stdout
    	cmd.Stderr = os.Stderr
    	if err := cmd.Run(); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    }
    
    -- my.pkg/main/main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/mod_retract_fix_version.txt

    # an error should be reported.
    ! go mod edit -retract=v3.0.1
    stderr '^go: -retract=v3.0.1: version "v3.0.1" invalid: should be v2, not v3$'
    cp go.mod.mismatch-v2 go.mod
    ! go list -m all
    stderr 'go.mod:3: retract rsc.io/quote/v2: version "v3.0.1" invalid: should be v2, not v3$'
    
    cp go.mod.mismatch-v1 go.mod
    ! go list -m all
    stderr 'go.mod:3: retract rsc.io/quote: version "v3.0.1" invalid: should be v0 or v1, not v3$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/ssa_test.go

    	}
    
    	stdout.Reset()
    	stderr.Reset()
    	cmd = testenv.Command(t, gotool, "run", "-gcflags=-d=ssa/check/on", rungo)
    	cmd.Stdout = &stdout
    	cmd.Stderr = &stderr
    	cmd.Env = append(cmd.Env, ev...)
    	err := cmd.Run()
    	if err != nil {
    		t.Fatalf("Failed: %v:\nOut: %s\nStderr: %s\n", err, &stdout, &stderr)
    	}
    	if s := stderr.String(); s != "" {
    		t.Errorf("Stderr = %s\nWant empty", s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top