1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-26 23:18:57 +03:00
samba-mirror/source4/lib/ldb/tests/test-generic.sh
Andrew Tridgell d8ce7c6a2a r502: modified ldb to allow the use of an external pool memory
allocator. The way to use this is to call ldb_set_alloc() with a
function pointer to whatever memory allocator you like. It includes a
context pointer to allow for pool based allocators.
(This used to be commit 3955c482e6c2c9e975a4bb809ec8cb6068e48e34)
2007-10-10 12:51:45 -05:00

18 lines
478 B
Bash
Executable File

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