Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 316 for EXIT (0.03 sec)

  1. docs/iam/policies/pbac-tests.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: test-bucket should succeed. Failed"
    	exit 1
    fi
    
    mc cp /etc/issue myminio1/multi-key-poc | grep -q "Insufficient permissions to access this path"
    ret=$?
    if [ $ret -eq 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc without sse-kms should fail. Succedded"
    	exit 1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/addr2line/addr2line_test.go

    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_ADDR2LINETEST_IS_ADDR2LINE", "1") // Set for subprocesses to inherit.
    	os.Exit(m.Run())
    }
    
    func loadSyms(t *testing.T, dbgExePath string) map[string]string {
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dbgExePath)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. helm/minio/templates/_helper_create_policy.txt

        echo \"Failed attempts: $ATTEMPTS\" ;
        if [ $ATTEMPTS -gt $LIMIT ]; then
          exit 1 ;
        fi ;
        sleep 2 ; # 1 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkPolicyExists ($policy)
    # Check if the policy exists, by using the exit code of `mc admin policy info`
    checkPolicyExists() {
      POLICY=$1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield
    
    FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    /// tip
    
    Make sure to use `yield` one single time per dependency.
    
    ///
    
    /// note | "Technical Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. helm-releases/minio-4.0.15.tgz

    ; STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy,...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 21 11:07:01 UTC 2022
    - 20K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                StringBuilder tokBuf = new StringBuilder(10);
                String tok;
                boolean inQuote = false;
                boolean tokStarted = false;
                boolean exit = false;
                while ((st.hasMoreTokens()) && (!exit)) {
                    tok = st.nextToken(tokenList);
                    switch (tok) {
                        case "\"":
                            inQuote = !inQuote;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/test/resources/run.sh

    ret=$?
    
    if [ $ret != 0 ] ; then
      for f in `find ./target -type f | grep surefire-reports | grep -v /TEST-` ; do
        cat $f
      done
    fi
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Feb 10 03:25:34 UTC 2024
    - 353 bytes
    - Viewed (0)
  8. helm/minio/templates/post-job.yaml

              {{- if .Values.makePolicyJob.exitCommand }}
              command: [ "/bin/sh", "-c" ]
              args: [ "/bin/sh /config/add-policy; EV=$?; {{ .Values.makePolicyJob.exitCommand }} && exit $EV" ]
              {{- else }}
              command: [ "/bin/sh", "/config/add-policy" ]
              {{- end }}
              env:
                - name: MINIO_ENDPOINT
                  value: {{ template "minio.fullname" . }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. helm/minio/templates/_helper_create_svcacct.txt

        echo \"Failed attempts: $ATTEMPTS\" ;
        if [ $ATTEMPTS -gt $LIMIT ]; then
          exit 1 ;
        fi ;
        sleep 2 ; # 2 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkSvcacctExists ()
    # Check if the svcacct exists, by using the exit code of `mc admin user svcacct info`
    checkSvcacctExists() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 23:20:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/bootstrap.bash

    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    	forceflag=-force
    	shift
    fi
    
    targ="../../go-${GOOS}-${GOARCH}-bootstrap"
    if [ -e $targ ]; then
    	echo "$targ already exists; remove before continuing"
    	exit 2
    fi
    
    unset GOROOT
    src=$(cd .. && pwd)
    echo "#### Copying to $targ"
    cp -Rp "$src" "$targ"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jan 20 17:52:26 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top