aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/test.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index c31038f..fe14068 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -4,6 +4,9 @@ set -eou pipefail
source "$(dirname "${BASH_SOURCE[0]}")/lib/log.sh"
source "$(dirname "${BASH_SOURCE[0]}")/lib/test.sh"
+KEEPDB=false
+SUITE=""
+
usage() {
echo "Usage: $0 [OPTIONS] [TEST_SUITE]"
echo ""
@@ -55,12 +58,9 @@ main() {
}
parse_args() {
- KEEPDB=false
- SUITE=""
-
while [[ $# -gt 0 ]]; do
case "$1" in
- -h|--help)
+ -h | --help)
usage
exit 0
;;