]> git.sur5r.net Git - openldap/commitdiff
make it easier to run slapd under valgrind
authorPierangelo Masarati <ando@openldap.org>
Sat, 27 Jan 2007 18:33:19 +0000 (18:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 27 Jan 2007 18:33:19 +0000 (18:33 +0000)
tests/scripts/defines.sh

index e05835f75a23c5f41cd3a5a8ed400ae90464c685..6731f795a78b97485f00906cf745ea26fd528aa2 100755 (executable)
@@ -154,10 +154,10 @@ TOOLPROTO="-P 3"
 LDIFFILTER=$SRCDIR/scripts/acfilter.sh
 CONFFILTER=$SRCDIR/scripts/conf.sh
 
-SLAPADD="../servers/slapd/slapd -Ta -d 0 $LDAP_VERBOSE"
-SLAPCAT="../servers/slapd/slapd -Tc -d 0 $LDAP_VERBOSE"
-SLAPINDEX="../servers/slapd/slapd -Ti -d 0 $LDAP_VERBOSE"
-SLAPPASSWD="../servers/slapd/slapd -Tpasswd"
+SLAPADD="`pwd`/../servers/slapd/slapd -Ta -d 0 $LDAP_VERBOSE"
+SLAPCAT="`pwd`/../servers/slapd/slapd -Tc -d 0 $LDAP_VERBOSE"
+SLAPINDEX="`pwd`/../servers/slapd/slapd -Ti -d 0 $LDAP_VERBOSE"
+SLAPPASSWD="`pwd`/../servers/slapd/slapd -Tpasswd"
 
 unset DIFF_OPTIONS
 # NOTE: -u/-c is not that portable...
@@ -165,8 +165,8 @@ DIFF="diff -i"
 CMP="diff -i"
 BCMP="diff -iB"
 CMPOUT=/dev/null
-SLAPD="../servers/slapd/slapd -s0"
-SLURPD=../servers/slurpd/slurpd
+SLAPD="`pwd`/../servers/slapd/slapd -s0"
+SLURPD="`pwd`/../servers/slurpd/slurpd"
 LDAPPASSWD="$CLIENTDIR/ldappasswd $TOOLARGS"
 LDAPSASLSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $LDAP_TOOLARGS -LLL"
 LDAPSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $TOOLARGS -LLL"