X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Frun.in;h=30aa634aa298f8d23f6bfb971fd463c8d710c9d2;hb=29833786ada3dc4c56f16edce84da8eb96d94ed9;hp=02d8429e9bbb2b4bcbc375c6bcb08dbd77d00c89;hpb=994923dbc5b80d89a3f036e934b3da4d8d2b6569;p=openldap diff --git a/tests/run.in b/tests/run.in index 02d8429e9b..30aa634aa2 100644 --- a/tests/run.in +++ b/tests/run.in @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2015 The OpenLDAP Foundation. +## Copyright 1998-2017 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -189,6 +189,7 @@ fi . $SRCDIR/scripts/defines.sh SCRIPTDIR="${SRCDIR}/scripts" +ITSDIR="${SRCDIR}/data/regressions" SCRIPTNAME="$1" shift @@ -198,6 +199,8 @@ elif test -x "`echo ${SCRIPTDIR}/test*-${SCRIPTNAME}`"; then SCRIPT="`echo ${SCRIPTDIR}/test*-${SCRIPTNAME}`" elif test -x "`echo ${SCRIPTDIR}/${SCRIPTNAME}-*`"; then SCRIPT="`echo ${SCRIPTDIR}/${SCRIPTNAME}-*`" +elif test -x "`echo ${ITSDIR}/${SCRIPTNAME}/${SCRIPTNAME}`"; then + SCRIPT="`echo ${ITSDIR}/${SCRIPTNAME}/${SCRIPTNAME}`" else echo "run: ${SCRIPTNAME} not found (or not executable)" exit 1;