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

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

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

echo "Starting ldbtest"
time bin/ldbtest -r 1000 -s 100  || exit 1

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

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