]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
autoca test deadlocks in back-ldif
authorHoward Chu <hyc@openldap.org>
Fri, 13 Aug 2021 20:31:34 +0000 (21:31 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Aug 2021 20:31:34 +0000 (21:31 +0100)
tests/scripts/test066-autoca

index d8cfd85add4a054436ad169d51a867a1633ffc7d..3027de05f34a87a806802c8c0a43220a9bb2914a 100755 (executable)
@@ -21,6 +21,13 @@ if test $AUTOCA = autocano; then
        exit 0
 fi 
 
+if test $BACKEND = ldif ; then
+       # autoca tries to modify an entry in a search response,
+       # which deadlocks because the tree is readlocked by the search.
+       echo "Test does not support $BACKEND backend, test skipped"
+       exit 0
+fi
+
 CFDIR=$TESTDIR/slapd.d
 
 mkdir -p $TESTDIR $CFDIR $DBDIR1