From 4a714bffbca6dee4f3940a9855c15e3214ef10bc Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Tue, 6 Mar 2018 10:59:25 -0800 Subject: [PATCH] restore long options for run.sh --- bin/tests/system/run.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/run.sh b/bin/tests/system/run.sh index 9abdedbba8..600cacd5c8 100644 --- a/bin/tests/system/run.sh +++ b/bin/tests/system/run.sh @@ -25,8 +25,13 @@ else clean=true fi -while getopts "knp:r" flag; do +while getopts "knp:r-:" flag; do case "$flag" in + -) case "${OPTARG}" in + keep) stopservers=false ;; + noclean) clean=false ;; + esac + ;; k) stopservers=false ;; n) clean=false ;; p) baseport=$OPTARG ;;