mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Modify run.in so that it can run individual regression tests
This commit is contained in:
parent
86df7d3bc3
commit
6baa23f072
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue