From beeede6c0c9ad787a19c712bfa339bc6583dce94 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 27 Jan 2007 18:33:19 +0000 Subject: [PATCH] make it easier to run slapd under valgrind --- tests/scripts/defines.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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" -- 2.39.5