From d9d977fb086b2854ef281fca43080dc234ab7182 Mon Sep 17 00:00:00 2001
From: Fabrice Le Goff <fabrice.le.goff@cern.ch>
Date: Wed, 19 Feb 2020 18:02:09 +0100
Subject: [PATCH] job done: tests passed at poin1

---
 DeploymentTest/p1.test.user.bash | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/DeploymentTest/p1.test.user.bash b/DeploymentTest/p1.test.user.bash
index 11c57dc..2531c22 100755
--- a/DeploymentTest/p1.test.user.bash
+++ b/DeploymentTest/p1.test.user.bash
@@ -9,16 +9,13 @@ function usage {
   echo "                (uses /eos/ctaatlaspps/daqtest)"
 }
 
-EXECNAME=$0
-shift
-
+EXECNAME=`basename $0`
 TESTHOST=""
-
 ISERS_ENABLED="false"
 MIG_ENABLED="false"
 
 while [[ $# -gt 0 ]]; do
-  case $0 in
+  case $1 in
     --isers)
     ISERS_ENABLED="true"
     shift
@@ -32,7 +29,7 @@ while [[ $# -gt 0 ]]; do
     exit 1
     ;;
     *)
-    TESTHOST=$0
+    TESTHOST=$1
     shift
     ;;
   esac
-- 
GitLab