From 87cbd9414bab2f0a71d71b2c145c11ee71acd573 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sat, 29 Dec 2012 16:42:28 -0800 Subject: ldb: make test output more readable Reviewed-by: Andrew Bartlett --- lib/ldb/tests/test-controls.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/ldb') diff --git a/lib/ldb/tests/test-controls.sh b/lib/ldb/tests/test-controls.sh index 771085ec60..328ed29d08 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 -- cgit