diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-05 10:01:32 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-05 17:24:47 +1000 |
commit | 8420a36dc7fe72fb665e065b8673fa44ff1bbf21 (patch) | |
tree | 5350041c1de4cdc73a813949f7cd154c423b3ec5 /source4/lib/ldb/tests/test-controls.sh | |
parent | c9a6dd56e42beafd297f4aefeb4e00ef9a09073a (diff) | |
download | samba-8420a36dc7fe72fb665e065b8673fa44ff1bbf21.tar.gz samba-8420a36dc7fe72fb665e065b8673fa44ff1bbf21.tar.bz2 samba-8420a36dc7fe72fb665e065b8673fa44ff1bbf21.zip |
ldb: make ldb a top level library for Samba 4.0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/lib/ldb/tests/test-controls.sh')
-rwxr-xr-x | source4/lib/ldb/tests/test-controls.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/source4/lib/ldb/tests/test-controls.sh b/source4/lib/ldb/tests/test-controls.sh deleted file mode 100755 index 771085ec60..0000000000 --- a/source4/lib/ldb/tests/test-controls.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -if [ -n "$TEST_DATA_PREFIX" ]; then - LDB_URL="$TEST_DATA_PREFIX/tdbtest.ldb" -else - LDB_URL="tdbtest.ldb" -fi -export LDB_URL - -PATH=bin:$PATH -export PATH - -rm -f $LDB_URL* - -echo "LDB_URL: $LDB_URL" -cat <<EOF | $VALGRIND ldbadd || exit 1 -dn: @MODULES -@LIST: sample -EOF - -cat <<EOF | $VALGRIND ldbadd || exit 1 -dn: dc=bar -dc: bar -someThing: someThingElse -EOF - -$VALGRIND ldbsearch "(touchedBy=sample)" | grep "touchedBy: sample" || exit 1 -# This action are expected to fails because the sample module return an error when presented the relax control - -cat <<EOF | $VALGRIND ldbadd --controls "relax:0" && exit 1 -dn: dc=foobar -dc: foobar -someThing: someThingElse -EOF - -cat <<EOF | $VALGRIND ldbmodify --controls "relax:0" && exit 1 -dn: dc=bar -changetype: modify -replace someThing -someThing: someThingElseBetter -EOF - -$VALGRIND ldbsearch --controls "bypassoperational:0" >/dev/null 2>&1 || exit 1 - -set |