storj.io/minio@v0.0.0-20230509071714-0cbc90f649b1/mint/run/core/s3select/run.sh (about) 1 #!/bin/bash 2 # 3 # Mint (C) 2020 Minio, Inc. 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 # 17 18 # handle command line arguments 19 if [ $# -ne 2 ]; then 20 echo "usage: run.sh <OUTPUT-LOG-FILE> <ERROR-LOG-FILE>" 21 exit 1 22 fi 23 24 output_log_file="$1" 25 error_log_file="$2" 26 27 # run path style tests 28 python "./tests.py" 1>>"$output_log_file" 2>"$error_log_file"