mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
append logs
This commit is contained in:
parent
84d6a04c91
commit
d25dfcbe92
2 changed files with 12 additions and 2 deletions
|
|
@ -17,8 +17,9 @@ echo "Using $RELAY backend..."
|
|||
echo ""
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
echo "======== Starting slapd with $RELAY backend ========" >> $LOG1
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $RELAYCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
|
|
|||
|
|
@ -73,6 +73,10 @@ fi
|
|||
echo "Testing virtual naming context mapping with $RELAYS backend(s)..."
|
||||
echo ""
|
||||
|
||||
tmpfile=savelog.log
|
||||
if test -f $tmpfile ; then
|
||||
rm -f $tmpfile
|
||||
fi
|
||||
first=1
|
||||
for RELAY in $RELAYS ; do
|
||||
RUNIT=yes
|
||||
|
|
@ -92,11 +96,16 @@ for RELAY in $RELAYS ; do
|
|||
echo ">>>>> waiting for things to exit"
|
||||
test $KILLSERVERS != no && wait
|
||||
echo ""
|
||||
|
||||
|
||||
mv -f $LOG1 $tmpfile
|
||||
rm -rf $TESTDIR
|
||||
fi
|
||||
|
||||
mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
if test -f $tmpfile ; then
|
||||
mv $tmpfile $LOG1
|
||||
fi
|
||||
|
||||
. $SRCDIR/scripts/relay
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue