]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test039-glue-ldap-concurrency
s/ldap_sync.h/ldap.h/
[openldap] / tests / scripts / test039-glue-ldap-concurrency
index 66250c96db0080244079f1fb294c9304446ba1d5..f1038b3eab66e5cab8ae24234fe619eea84a6868 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2007 The OpenLDAP Foundation.
+## Copyright 1998-2008 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -177,8 +177,12 @@ for f in $TESTDIR/$DATADIR/do_bind.* ; do
        echo "" >> $f
 done
 
+# fix test data to include back-monitor, if available
+# NOTE: copies do_* files from $TESTDIR/$DATADIR to $TESTDIR
+$MONITORDATA "$MONITORDB" "$TESTDIR/$DATADIR" "$TESTDIR"
+
 echo "Using tester for concurrent server access..."
-$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR/$DATADIR" -h $LOCALHOST -p $PORT3 \
+$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT3 \
        -D "cn=Manager,$METABASEDN" -w $PASSWD \
        -l $TESTLOOPS -L $TESTOLOOPS -r 20 -FF \
        -i '!REFERRAL'