summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-extended.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tests/test-extended.sh')
-rwxr-xr-xsource4/lib/ldb/tests/test-extended.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/tests/test-extended.sh b/source4/lib/ldb/tests/test-extended.sh
index a84e3b78a3..14b988e3f9 100755
--- a/source4/lib/ldb/tests/test-extended.sh
+++ b/source4/lib/ldb/tests/test-extended.sh
@@ -4,7 +4,7 @@ echo "Running extended search tests"
mv $LDB_URL $LDB_URL.1
-cat <<EOF | bin/ldbadd || exit 1
+cat <<EOF | $VALGRIND ldbadd$EXEEXT || exit 1
dn: cn=testrec1,cn=TEST
i1: 1
i2: 0
@@ -38,10 +38,10 @@ EOF
checkcount() {
count=$1
expression="$2"
- n=`bin/ldbsearch "$expression" | grep '^dn' | wc -l`
+ n=`$VALGRIND ldbsearch$EXEEXT "$expression" | grep '^dn' | wc -l`
if [ $n != $count ]; then
echo "Got $n but expected $count for $expression"
- bin/ldbsearch "$expression"
+ $VALGRIND ldbsearch$EXEEXT "$expression"
exit 1
fi
echo "OK: $count $expression"