diff --git a/test/test-shell.sh b/test/test-shell.sh index bc04263f..e9d039a3 100755 --- a/test/test-shell.sh +++ b/test/test-shell.sh @@ -1,6 +1,12 @@ #!/bin/bash # simple test harness for testing mgmt # NOTE: this will rm -rf /tmp/mgmt/ +if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then + echo -e "usage: ./"`basename $0`" [[--help] | ]" + echo -e "where: is empty to run all tests, or .sh from shell/ dir" + exit 1 +fi + echo running test-shell.sh set -o errexit set -o pipefail