From: Quanah Gibson-Mount Date: Mon, 12 Dec 2016 19:53:14 +0000 (-0800) Subject: ITS#839 Modify run.in so that it can run individual regression tests X-Git-Tag: OPENLDAP_REL_ENG_2_4_45~91 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0792bc21655ea74118edddd921665d04a648b90;p=openldap ITS#839 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;