Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 170 for errorexit (0.18 sec)

  1. src/cmd/vet/testdata/buildtag/buildtag.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains tests for the buildtag checker.
    
    // ERRORNEXT "possible malformed [+]build comment"
    // +builder
    // +build !ignore
    
    package testdata
    
    // ERRORNEXT "misplaced \+build comment"
    // +build toolate
    
    var _ = 3
    
    var _ = `
    // +build notacomment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:48 UTC 2021
    - 420 bytes
    - Viewed (0)
  2. hack/ginkgo-e2e.sh

          program+=("--nodes=25")
        fi
        program+=("${ginkgo_args[@]:+${ginkgo_args[@]}}")
        ;;
      delve) program=("dlv" "exec") ;;
      gdb) program=("gdb") ;;
      *) kube::log::error_exit "Unsupported E2E_TEST_DEBUG_TOOL=${E2E_TEST_DEBUG_TOOL}" ;;
    esac
    
    # Move Ginkgo arguments that are understood by the suite when not using
    # the CLI.
    suite_args=()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 13:25:50 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/vet/testdata/directive/directive.go

    package p
    
    // ERRORNEXT "//go:debug directive only valid in package main or test"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 19:25:52 UTC 2023
    - 104 bytes
    - Viewed (0)
  4. src/net/rpc/jsonrpc/all_test.go

    	const valueText = "the value we don't want to see"
    	const errorText = "some error"
    	err := sc.WriteResponse(&rpc.Response{
    		ServiceMethod: "Method",
    		Seq:           1,
    		Error:         errorText,
    	}, valueText)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !strings.Contains(out.String(), errorText) {
    		t.Fatalf("Response didn't contain expected error %q: %s", errorText, &out)
    	}
    	if strings.Contains(out.String(), valueText) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:09:53 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/vet/testdata/buildtag/buildtag3.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains tests for the buildtag checker.
    
    //go:build good
    // ERRORNEXT "[+]build lines do not match //go:build condition"
    // +build bad
    
    package testdata
    
    var _ = `
    // +build notacomment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:48 UTC 2021
    - 362 bytes
    - Viewed (0)
  6. cluster/kube-up.sh

    #
    # If the full release name (gs://<bucket>/<release>) is passed in then we take
    # that directly.  If not then we assume we are doing development stuff and take
    # the defaults in the release config.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    
    if [ -f "${KUBE_ROOT}/cluster/env.sh" ]; then
        source "${KUBE_ROOT}/cluster/env.sh"
    fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 17 15:03:34 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/error.go

    	ValidationExitCode = 3
    )
    
    var (
    	// ErrInvalidSubCommandMsg is an error message returned on invalid subcommands
    	ErrInvalidSubCommandMsg = "invalid subcommand"
    	// ErrExit is an error returned when kubeadm is about to exit
    	ErrExit = errors.New("exit")
    )
    
    // fatal prints the message if set and then exits.
    func fatal(msg string, code int) {
    	if len(msg) > 0 {
    		// add newline if needed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. build/copy-output.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # Copies any built binaries (and other generated files) out of the Docker build container.
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/build/common.sh"
    
    kube::build::verify_prereqs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 16 08:39:13 UTC 2019
    - 883 bytes
    - Viewed (0)
  9. cluster/images/etcd/migrate-if-needed.sh

    
    # DEPRECATED:
    # The functionality has been moved to migrate binary and this script
    # if left for backward compatibility with previous manifests. It will be
    # removed in the future.
    
    set -o errexit
    set -o nounset
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 22 18:45:58 UTC 2020
    - 836 bytes
    - Viewed (0)
  10. build/shell.sh

    # limitations under the License.
    
    # Run a bash script in the Docker build image.
    #
    # This container will have a snapshot of the current sources.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/build/common.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 16 08:24:27 UTC 2019
    - 939 bytes
    - Viewed (0)
Back to top