mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#2401 support tests for dynamically loaded backends
This commit is contained in:
parent
b10f1c5780
commit
2ce5398ec4
36 changed files with 118 additions and 211 deletions
|
|
@ -17,10 +17,10 @@ test-bdb: FORCE
|
|||
@-$(LN_S) $(srcdir)/data .
|
||||
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
|
||||
@-$(LN_S) ../libraries/liblunicode ucdata
|
||||
@if test "$(BUILD_BDB)" = "yes" ; then \
|
||||
@if test "$(BUILD_BDB)" != "no"; then \
|
||||
echo "Initiating LDAP tests for BDB..." ; \
|
||||
$(MKDIR) test-db test-repl || true; \
|
||||
$(srcdir)/scripts/all $(srcdir) bdb $(BUILD_MONITOR) ; \
|
||||
$(srcdir)/scripts/all $(srcdir) bdb $(BUILD_BDB) $(BUILD_MONITOR) ; \
|
||||
else \
|
||||
echo "run configure with --enable-bdb" ; \
|
||||
fi
|
||||
|
|
@ -30,10 +30,10 @@ test-hdb: FORCE
|
|||
@-$(LN_S) $(srcdir)/data .
|
||||
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
|
||||
@-$(LN_S) ../libraries/liblunicode ucdata
|
||||
@if test "$(BUILD_HDB)" = "yes" ; then \
|
||||
@if test "$(BUILD_HDB)" != "no" ; then \
|
||||
echo "Initiating LDAP tests for HDB..." ; \
|
||||
$(MKDIR) test-db test-repl || true; \
|
||||
$(srcdir)/scripts/all $(srcdir) hdb $(BUILD_MONITOR) ; \
|
||||
$(srcdir)/scripts/all $(srcdir) hdb $(BUILD_HDB) $(BUILD_MONITOR) ; \
|
||||
else \
|
||||
echo "run configure with --enable-hdb" ; \
|
||||
fi
|
||||
|
|
@ -43,10 +43,10 @@ test-ldbm: FORCE
|
|||
@-$(LN_S) $(srcdir)/data .
|
||||
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
|
||||
@-$(LN_S) ../libraries/liblunicode ucdata
|
||||
@if test "$(BUILD_LDBM)" = "yes" ; then \
|
||||
@if test "$(BUILD_LDBM)" != "no"; then \
|
||||
echo "Initiating LDAP tests for LDBM..." ; \
|
||||
$(MKDIR) test-db test-repl || true; \
|
||||
$(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_MONITOR); \
|
||||
$(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_LDBM) $(BUILD_MONITOR); \
|
||||
else \
|
||||
echo "run configure with --enable-ldbm" ; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@ argsfile ./test-db/slapd.args
|
|||
access to dn.base="" attr=objectClass by users read
|
||||
access to * by * read
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ argsfile ./test-db/slapd.args
|
|||
sasl-secprops noanonymous
|
||||
#sasl-secprops none
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ include ./schema/internet_mail.oc.conf
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ argsfile ./test-db/slapd.args
|
|||
|
||||
# password-hash {md5}
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-repl/slapd.pid
|
||||
argsfile ./test-repl/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-repl/slapd.pid
|
||||
argsfile ./test-repl/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-repl/slapd.pid
|
||||
argsfile ./test-repl/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ argsfile ./test-db/slapd.args
|
|||
#
|
||||
rootdse ./data/rootdse.ldif
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ include ./schema/openldap.schema
|
|||
pidfile ./test-db/slapd.pid
|
||||
argsfile ./test-db/slapd.args
|
||||
|
||||
modulepath ../servers/slapd/back-@BACKEND@/
|
||||
@MODULELOAD@
|
||||
|
||||
#######################################################################
|
||||
# ldbm database definitions
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -22,6 +22,14 @@ fi
|
|||
|
||||
echo ">>>>> Backend: $BACKEND"
|
||||
|
||||
if test $# -eq 0 ; then
|
||||
BACKENDTYPE=yes
|
||||
else
|
||||
BACKENDTYPE=$1; shift
|
||||
fi
|
||||
|
||||
echo ">>>>> Backend Type: $BACKENDTYPE"
|
||||
|
||||
if test $# -eq 0 ; then
|
||||
MONITOR=no
|
||||
else
|
||||
|
|
@ -35,7 +43,7 @@ TN=`$SHTOOL echo -e "%b"`
|
|||
|
||||
for CMD in $SRCDIR/scripts/test*; do
|
||||
echo ">>>>> Starting ${TB}`basename $CMD`${TN} ..."
|
||||
$CMD $SRCDIR $BACKEND $MONITOR
|
||||
$CMD $SRCDIR $BACKEND $BACKENDTYPE $MONITOR
|
||||
RC=$?
|
||||
if test $RC -eq 0 ; then
|
||||
echo ">>>>> $CMD completed ${TB}OK${TN}."
|
||||
|
|
|
|||
21
tests/scripts/args.sh
Executable file
21
tests/scripts/args.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
# $OpenLDAP$
|
||||
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
|
||||
BACKENDTYPE=yes
|
||||
if test $# -ge 1 ; then
|
||||
BACKENDTYPE=$1; shift
|
||||
fi
|
||||
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
|
@ -5,7 +5,11 @@ if [ x"$MONITORDB" = x"yes" ] ; then
|
|||
else
|
||||
MON=nomonitor
|
||||
fi
|
||||
if [ x"$BACKENDTYPE" = x"mod" ]; then
|
||||
MODULELOAD="moduleload back_${BACKEND}.la"
|
||||
fi
|
||||
sed -e "s/@BACKEND@/${BACKEND}/" \
|
||||
-e "s/@MODULELOAD@/${MODULELOAD}/" \
|
||||
-e "s/^#${BACKEND}#//" \
|
||||
-e "s/^#${MON}#//" \
|
||||
-e "s/@PORT@/${PORT}/" \
|
||||
|
|
|
|||
|
|
@ -5,19 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -8,18 +8,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -5,18 +5,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
|
|
@ -6,18 +6,8 @@ SRCDIR="."
|
|||
if test $# -ge 1 ; then
|
||||
SRCDIR=$1; shift
|
||||
fi
|
||||
BACKEND=bdb
|
||||
if test $# -ge 1 ; then
|
||||
BACKEND=$1; shift
|
||||
fi
|
||||
MONITORDB=no
|
||||
if test $# -ge 1 ; then
|
||||
MONITORDB=$1; shift
|
||||
fi
|
||||
WAIT=0
|
||||
if test $# -ge 1 ; then
|
||||
WAIT=1; shift
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/args.sh
|
||||
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue