From 3bb53466f17746f866b92989e22df78d4ac563d3 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Fri, 22 Feb 2019 08:59:00 +0000
Subject: [PATCH] COB-49: minor logging changes

---
 SubSystems/Online_Cobalt/validation/validate | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/SubSystems/Online_Cobalt/validation/validate b/SubSystems/Online_Cobalt/validation/validate
index 410e02e7a94..8940751c33c 100755
--- a/SubSystems/Online_Cobalt/validation/validate
+++ b/SubSystems/Online_Cobalt/validation/validate
@@ -1,8 +1,7 @@
 #!/bin/bash
 
 # Change directory to the location of this script
-VALIDATION_SCRIPT_PATH=`readlink -f -n $0`
-VALIDATION_ROOT_DIR=`dirname $VALIDATION_SCRIPT_PATH`
+VALIDATION_ROOT_DIR=$(dirname $0)
 cd $VALIDATION_ROOT_DIR
 
 # import helper functions
@@ -60,12 +59,16 @@ LOGSUFFIX="`hostname -s`_`date +%FT%T`.log"
 # Default: all test-suite sub dirs
 TESTSETS=${@:-`find -L .  -maxdepth 1 -type d | sort -u`}
 
-echo "--Running validation tests------------------------------------------"
+echo "-----------------------------------------------------------------------------"
+echo "------------------------- Running validation tests --------------------------"
+echo "-----------------------------------------------------------------------------"
 echo "               host: `hostname`"
 echo "  working directory: `pwd`"
 echo "      log directory: $LOGDIR"
 echo "         log suffix: $LOGSUFFIX"
-echo "--------------------------------------------------------------------"
+echo "-----------------------------------------------------------------------------"
+echo " Please note that some tests can take a considerable amount of time..."
+echo "-----------------------------------------------------------------------------"
 echo ""
 
 # Run all tests
@@ -73,7 +76,7 @@ for TEST in `find -L $TESTSETS -name '*.test' -type f -a -executable | sort -u`
 do
   LOGFILE="$LOGDIR/$TEST.$LOGSUFFIX"
 
-  # make we can write into the log dir
+  # make sure we can write into the log dir
   mkdir -p `dirname $LOGFILE`
 
   printf "%48s : " "$TEST"
-- 
GitLab