From 18ffeae02ff35ac559f3317dd0646cfa4536ce8e Mon Sep 17 00:00:00 2001 From: Fabrice Le Goff <fabrice.le.goff@cern.ch> Date: Wed, 19 Feb 2020 15:42:59 +0100 Subject: [PATCH] fix option dft value --- DeploymentTest/p1.test.user.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DeploymentTest/p1.test.user.bash b/DeploymentTest/p1.test.user.bash index 8e2b17d..11c57dc 100755 --- a/DeploymentTest/p1.test.user.bash +++ b/DeploymentTest/p1.test.user.bash @@ -7,7 +7,6 @@ function usage { echo " (requires running 'castorscript' partition)" echo " --mig enable migration check before deletion" echo " (uses /eos/ctaatlaspps/daqtest)" - exit 1 } EXECNAME=$0 @@ -15,6 +14,9 @@ shift TESTHOST="" +ISERS_ENABLED="false" +MIG_ENABLED="false" + while [[ $# -gt 0 ]]; do case $0 in --isers) @@ -27,6 +29,7 @@ while [[ $# -gt 0 ]]; do ;; --*) # unknown option usage + exit 1 ;; *) TESTHOST=$0 @@ -37,6 +40,7 @@ done if [ "x$TESTHOST" = x ]; then usage + exit 1 fi if [ $ISERS_ENABLED = "true" -a $MIG_ENABLED = "true" ]; then -- GitLab