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

17 lines
293 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
chmod a+x aws-stub-tests.rb
ruby aws-stub-tests.rb 1>>"$output_log_file" 2>"$error_log_file"