From: Pierangelo Masarati Date: Sat, 27 Jan 2007 18:33:19 +0000 (+0000) Subject: make it easier to run slapd under valgrind X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~119 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=beeede6c0c9ad787a19c712bfa339bc6583dce94;p=openldap make it easier to run slapd under valgrind --- diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index e05835f75a..6731f795a7 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -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"