diff --git a/Tests/bin/MarlinTests.sh b/Tests/bin/MarlinTests.sh index 86960a5..7bc299e 100755 --- a/Tests/bin/MarlinTests.sh +++ b/Tests/bin/MarlinTests.sh @@ -10,7 +10,7 @@ #----- parse command line - first argument is the # test to run ## Drop existing ClicPerformance from MARLIN_DLL -MARLIN_DLL=`echo $MARLIN_DLL | sed -e 's/:\?[-a-z0-9A-Z_/.=]*libClicPerformance.so[.0-9]*:\?/:/'` +MARLIN_DLL=`echo $MARLIN_DLL | sed -E 's/(:?)[^:]*libClicPerformance\.so:?/\1/'` export MARLIN_DLL=$1:$MARLIN_DLL command=$2 theargs="" diff --git a/Tests/bin/Profiler.sh b/Tests/bin/Profiler.sh index bc86195..a28b1a5 100755 --- a/Tests/bin/Profiler.sh +++ b/Tests/bin/Profiler.sh @@ -9,7 +9,7 @@ source /cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh #----- parse command line - first argument is the # test to run ## Drop existing ClicPerformance from MARLIN_DLL -MARLIN_DLL=`echo $MARLIN_DLL | sed -e 's/:\?[-a-z0-9A-Z_/.=]*libClicPerformance.so[.0-9]*:\?/:/'` +MARLIN_DLL=`echo $MARLIN_DLL | sed -E 's/(:?)[^:]*libClicPerformance\.so:?/\1/'` export MARLIN_DLL=$1:$MARLIN_DLL command=$2 theargs="" diff --git a/Tests/bin/ValgrindTests.sh b/Tests/bin/ValgrindTests.sh index deb4fe2..83f0b48 100755 --- a/Tests/bin/ValgrindTests.sh +++ b/Tests/bin/ValgrindTests.sh @@ -10,7 +10,7 @@ #----- parse command line - first argument is the # test to run ## Drop existing ClicPerformance from MARLIN_DLL -MARLIN_DLL=`echo $MARLIN_DLL | sed -e 's/:\?[-a-z0-9A-Z_/.=]*libClicPerformance.so[.0-9]*:\?/:/'` +MARLIN_DLL=`echo $MARLIN_DLL | sed -E 's/(:?)[^:]*libClicPerformance\.so:?/\1/'` export MARLIN_DLL=$1:$MARLIN_DLL export VALGRIND_LIB=$2 command=$3