summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-generic.sh
blob: 6db57967df613f574dd5f5f1d2f28a81af9168e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
echo "Adding base elements"
$VALGRIND bin/ldbadd tests/test.ldif || exit 1

echo "Modifying elements"
$VALGRIND bin/ldbmodify tests/test-modify.ldif || exit 1

echo "Showing modified record"
$VALGRIND bin/ldbsearch '(uid=uham)'  || exit 1

echo "Starting ldbtest"
time $VALGRIND bin/ldbtest -r 1000 -s 10  || exit 1

echo "Adding index"
$VALGRIND bin/ldbadd tests/test-index.ldif  || exit 1

echo "Starting ldbtest indexed"
time $VALGRIND bin/ldbtest -r 1000 -s 5000  || exit 1