mirror of
https://github.com/samba-team/samba.git
synced 2025-06-26 23:18:57 +03:00
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)
18 lines
478 B
Bash
Executable File
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
|