From cf2a8a2cd1695631c7405213cb595302e116bfff Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Mon, 1 Dec 2003 02:59:58 +0000
Subject: [PATCH] Disable tests on LDBM.

---
 tests/scripts/test017-syncreplication-refresh | 5 +++++
 tests/scripts/test018-syncreplication-persist | 5 +++++
 tests/scripts/test019-syncreplication-cascade | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/tests/scripts/test017-syncreplication-refresh b/tests/scripts/test017-syncreplication-refresh
index df50ef9778..3e0d6d875e 100755
--- a/tests/scripts/test017-syncreplication-refresh
+++ b/tests/scripts/test017-syncreplication-refresh
@@ -13,6 +13,11 @@
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
+if test "$BACKEND" != "bdb" -o "$BACKEND" != "hdb" -o ; then
+	echo "Test does not support $BACKEND"
+	exit 0
+fi
+
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
diff --git a/tests/scripts/test018-syncreplication-persist b/tests/scripts/test018-syncreplication-persist
index 0fdbfb74ac..9241aa7eb8 100755
--- a/tests/scripts/test018-syncreplication-persist
+++ b/tests/scripts/test018-syncreplication-persist
@@ -13,6 +13,11 @@
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
+if test "$BACKEND" != "bdb" -o "$BACKEND" != "hdb" -o ; then
+	echo "Test does not support $BACKEND"
+	exit 0
+fi
+
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
diff --git a/tests/scripts/test019-syncreplication-cascade b/tests/scripts/test019-syncreplication-cascade
index b00c5f80e3..87d0ca063e 100755
--- a/tests/scripts/test019-syncreplication-cascade
+++ b/tests/scripts/test019-syncreplication-cascade
@@ -13,6 +13,11 @@
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
+if test "$BACKEND" != "bdb" -o "$BACKEND" != "hdb" -o ; then
+	echo "Test does not support $BACKEND"
+	exit 0
+fi
+
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
-- 
GitLab