Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for if (0.16 sec)

  1. buildscripts/verify-build.sh

    }
    
    function main() {
    	echo "Testing in FS setup"
    	if ! run_test_fs; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Erasure setup"
    	if ! run_test_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Distributed Erasure setup"
    	if ! run_test_dist_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. buildscripts/verify-healing.sh

    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/dist-minio-server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	if ! ps -p $pid2 1>&2 >/dev/null; then
    		echo "server2 log:"
    		cat "${WORK_DIR}/dist-minio-server2.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	if ! ps -p $pid3 1>&2 >/dev/null; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  3. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	export PATH="${PATH}":"${GOPATH}"/bin
    
    	if which mc &>/dev/null; then
    		echo "mc is already installed"
    	else
    		echo "Installing mc:"
    		go install github.com/minio/mc@latest
    	fi
    
    	if [ ! -x ./minio.${OLD_VERSION} ]; then
    		echo "Downloading minio.${OLD_VERSION} binary"
    		curl -o minio.${OLD_VERSION} ${OLD_BINARY_LINK}
    		chmod +x minio.${OLD_VERSION}
    	fi
    
    	if [ -z "$_MINIO_LDAP_TEST_SERVER" ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. buildscripts/heal-inconsistent-versions.sh

    set -E
    set -o pipefail
    set -x
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_4drive() {
    	start_port=$1
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. update-credits.sh

              of the following places: within a NOTICE text file distributed
              as part of the Derivative Works; within the Source form or
              documentation, if provided along with the Derivative Works; or,
              within a display generated by the Derivative Works, if and
              wherever such third-party notices normally appear. The contents
              of the NOTICE file are for informational purposes only and
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. buildscripts/minio-upgrade.sh

    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    	expected=$(mc cat "$1" | sha256sum)
    	local got
    	got=$(mc cat "$2" | sha256sum)
    
    	if [ "${expected}" != "${got}" ]; then
    		echo "mismatch - expected ${expected}, got ${got}"
    		exit 1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. dockerscripts/docker-entrypoint.sh

    #!/bin/sh
    #
    
    # If command starts with an option, prepend minio.
    if [ "${1}" != "minio" ]; then
    	if [ -n "${1}" ]; then
    		set -- minio "$@"
    	fi
    fi
    
    docker_switch_user() {
    	if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then
    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Viewed (0)
  8. docs/site-replication/run-ssec-object-replication.sh

    count1=$(./mc ls minio1/test-bucket/plainfile --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/plainfile not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    count3=$(./mc ls minio1/test-bucket/defpartsize --insecure | wc -l)
    if [ "${count3}" -ne 1 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. docs/bucket/replication/setup_2site_existing_replication.sh

    ./mc ls -r --versions siteb/bucket-version/ >/tmp/siteb_dirs.txt
    
    out=$(diff -qpruN /tmp/sitea_dirs.txt /tmp/siteb_dirs.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    fi
    
    ## check if we don't create delete markers on the directory objects, its always permanent delete.
    ./mc mb sitea/bucket-version/directory/
    
    sleep 2s
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/bucket/replication/setup_3site_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb sitec; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top