minio/mint/run/core/aws-sdk-java/run.sh

18 lines
315 B
Bash
Raw Normal View History

2019-07-09 21:32:39 -04:00
#!/bin/bash
#
#
# handle command line arguments
if [ $# -ne 2 ]; then
echo "usage: run.sh <OUTPUT-LOG-FILE> <ERROR-LOG-FILE>"
exit 1
2019-07-09 21:32:39 -04:00
fi
output_log_file="$1"
error_log_file="$2"
# run tests
cd /mint/run/core/aws-sdk-java/ || exit 1
2019-07-09 21:32:39 -04:00
java -jar FunctionalTests.jar 1>>"$output_log_file" 2>"$error_log_file"