diff --git a/tests/scripts/test022-ppolicy b/tests/scripts/test022-ppolicy
index bf391fa7d171b434387bea8aec1094e3ee044ff1..fee6d155fd340b13672cac36e081bd0231f39a9e 100755
--- a/tests/scripts/test022-ppolicy
+++ b/tests/scripts/test022-ppolicy
@@ -21,6 +21,11 @@ if test $PPOLICY = ppolicyno; then
 	exit 0
 fi 
 
+if test "$BACKEND" = "ldbm" ; then
+	echo "Test does not support $BACKEND"
+	exit 0
+fi
+
 mkdir -p $TESTDIR $DBDIR1
 
 echo "Starting slapd on TCP/IP port $PORT1..."