From: Quanah Gibson-Mount Date: Mon, 12 Dec 2016 19:53:14 +0000 (-0800) Subject: Modify run.in so that it can run individual regression tests X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6baa23f072d9bb77ba5d2b9a7c769e474c703a11;p=openldap Modify run.in so that it can run individual regression tests --- diff --git a/tests/run.in b/tests/run.in index 74e5a50b88..2873f2233c 100644 --- a/tests/run.in +++ b/tests/run.in @@ -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;