From b01ecb42b538719be79b3f149f14e3a5db0dd3c1 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 29 Nov 2009 14:31:11 +0000 Subject: [PATCH] ITS#5810 skip test for LDIF backend --- tests/scripts/test020-proxycache | 7 +++++++ tests/scripts/test044-dynlist | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index 9f70acb612..6baa19e812 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -33,6 +33,13 @@ if test $BACKLDAP = "ldapno" ; then exit 0 fi +if test $BACKEND = ldif ; then + # The (mail=example.com*) queries hit a sizelimit, so which + # entry is returned depends on the ordering in the backend. + echo "Test does not support $BACKEND backend, test skipped" + exit 0 +fi + mkdir -p $TESTDIR $DBDIR1 $DBDIR2 # Test proxy caching: diff --git a/tests/scripts/test044-dynlist b/tests/scripts/test044-dynlist index 4f1219dc1d..9907a8adf2 100755 --- a/tests/scripts/test044-dynlist +++ b/tests/scripts/test044-dynlist @@ -20,6 +20,12 @@ if test $DYNLIST = "dynlistno" ; then exit 0 fi +if test $BACKEND = ldif ; then + # dynlist+ldif fails because back-ldif lacks bi_op_compare() + echo "Test does not support $BACKEND backend, test skipped" + exit 0 +fi + mkdir -p $TESTDIR $DBDIR1 $SLAPPASSWD -g -n >$CONFIGPWF -- 2.39.2