diff --git a/tests/scripts/conf.sh b/tests/scripts/conf.sh
index bc65597eba259bd1e98701efea005c0acd23be8d..4da640af4a1440bd42adbe2d195a7970d5819bf1 100755
--- a/tests/scripts/conf.sh
+++ b/tests/scripts/conf.sh
@@ -1,3 +1,3 @@
 #! /bin/sh
 # $OpenLDAP$
-sed -e s/@BACKEND@/$BACKEND/ -e s/^#$BACKEND#//
+sed -e s/@BACKEND@/$BACKEND/ -e s/^#x$BACKENDx#//