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
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
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