#!/bin/bash # # # handle command line arguments if [ $# -ne 2 ]; then echo "usage: run.sh " exit 1 fi output_log_file="$1" error_log_file="$2" # run tests ./node_modules/mocha/bin/mocha -R minioreporter -b --exit 1>>"$output_log_file" 2>"$error_log_file"