Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for wc (0.02 sec)

  1. docs/bucket/versioning/versioning-tests.sh

    echo hello | ./mc pipe sitea/delissue/hello --insecure
    
    ./mc version suspend sitea/delissue --insecure
    
    ./mc rm sitea/delissue/hello --insecure
    
    count=$(./mc ls --versions sitea/delissue --insecure | wc -l)
    
    if [ ${count} -ne 3 ]; then
    	echo "BUG: expected number of versions to be '3' found ${count}"
    	echo "===== DEBUG ====="
    	./mc ls --versions sitea/delissue
    fi
    
    ./mc mb sitea/testbucket
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. docs/bucket/replication/setup_2site_existing_replication.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    fi
    
    sitea_count=$(cat /tmp/sitea_dirs.txt | wc -l) # need to do it this way to avoid filename in the output
    siteb_count=$(cat /tmp/siteb_dirs.txt | wc -l) # need to do it this way to avoid filename in the output
    sitea_out=$(cat /tmp/sitea_dirs.txt)
    siteb_out=$(cat /tmp/siteb_dirs.txt)
    
    if [ $sitea_count -ne 0 ]; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. helm/minio/templates/_helper_create_svcacct.txt

      FILENAME=$2
      #check accessKey_and_secretKey_tmp file
      if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then
        echo "credentials file does not exist"
        return 1
      fi
      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      SVCACCT=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the svcacct if it does not exist
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 23:20:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tools/convert_RbacConfig_to_ClusterRbacConfig.sh

    RBAC_CONFIGS=$(kubectl get RbacConfig --all-namespaces --no-headers --ignore-not-found)
    if [ "${RBAC_CONFIGS}" == "" ]
    then
      echo "RbacConfig not found"
      exit 0
    fi
    
    RBAC_CONFIG_COUNT=$(echo "${RBAC_CONFIGS}" | wc -l)
    if [ "${RBAC_CONFIG_COUNT}" -ne 1 ]
    then
      echo "${RBAC_CONFIGS}"
      echo "found ${RBAC_CONFIG_COUNT} RbacConfigs, expecting only 1. Please delete extra RbacConfigs and execute again."
      exit 1
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. hack/verify-file-sizes.sh

        git ls-files -cm --exclude-standard ':!:vendor/*' --eol | while read -r index tree attr eol file; do
            case "$tree" in
                w/-text)
                    # Only binary files have a size limit.
                    size="$(wc -c < "$file")"
                    if [ "${size}" -gt "$maxsize" ] &&
                           ! kube::util::array_contains "$file" "${allowlist[@]}"; then
                        echo    "$file is too large ($size bytes)"
                    fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 19:39:50 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. docs/site-replication/run-replication-with-checksum-header.sh

    echo "Objects from replicated site"
    ./mc ls minio2/test-bucket --insecure
    count1=$(./mc ls minio2/test-bucket/obj --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/obj not replicated"
    	exit_1
    fi
    count2=$(./mc ls minio2/test-bucket/mpartobj --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/mpartobj not replicated"
    	exit_1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 08 16:24:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. helm/minio/templates/_helper_create_user.txt

    createUser() {
      POLICY=$1
      #check accessKey_and_secretKey_tmp file
      if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then
        echo "credentials file does not exist"
        return 1
      fi
      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the user if it does not exist
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. ci/official/utilities/rename_and_verify_wheels.sh

    set -euxo pipefail
    
    cd "$TFCI_OUTPUT_DIR"
    
    # Move extra wheel files somewhere out of the way. This script
    # expects just one wheel file to exist.
    if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then
      echo "More than one wheel file is present: moving the oldest to"
      echo "$TFCI_OUTPUT_DIR/extra_wheels."
      # List all .whl files by their modification time (ls -t) and move anything
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 21:16:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer.go

    	return &writeCloser{RingBuffer: r}
    }
    
    type writeCloser struct {
    	*RingBuffer
    }
    
    // Close provides a close method for the WriteCloser.
    func (wc *writeCloser) Close() error {
    	wc.CloseWriter()
    	return wc.Flush()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. cluster/gce/upgrade-aliases.sh

    function get-k8s-node-routes-count() {
      local k8s_node_routes_count
      k8s_node_routes_count=$(gcloud compute routes list \
        --project="${PROJECT}" --filter='description=k8s-node-route' \
        --format='value(name)' | wc -l)
      echo -n "${k8s_node_routes_count}"
    }
    
    # Detect the subnetwork where the K8s cluster resides.
    #
    # Assumed vars:
    #  KUBE_MASTER
    #  PROJECT
    #  ZONE
    # Vars set:
    #  IP_ALIAS_SUBNETWORK
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top