From: Matthieu Patou Date: Sun, 30 Dec 2012 00:42:28 +0000 (-0800) Subject: ldb: make test output more readable X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=ab9bba4c7662018ac8cbb2c46f7be777a81ba396 ldb: make test output more readable Reviewed-by: Stefan Metzmacher --- diff --git a/lib/ldb/tests/test-controls.sh b/lib/ldb/tests/test-controls.sh index 771085ec6067..328ed29d0895 100755 --- a/lib/ldb/tests/test-controls.sh +++ b/lib/ldb/tests/test-controls.sh @@ -27,13 +27,13 @@ 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 </dev/null 2>&1 && exit 1 dn: dc=foobar dc: foobar someThing: someThingElse EOF -cat </dev/null 2>&1 && exit 1 dn: dc=bar changetype: modify replace someThing @@ -41,5 +41,3 @@ someThing: someThingElseBetter EOF $VALGRIND ldbsearch --controls "bypassoperational:0" >/dev/null 2>&1 || exit 1 - -set