From 4681c681ec31e6ca989d5b113de3bcc690354cd9 Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Mon, 09 Jul 2007 13:53:51 +0000
Subject: [PATCH] fix ldif to be have testsuite independant

---
 opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/teardown/disable_startTLS.ldif       |    4 ++++
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_key_mgr_provider.ldif |    1 -
 opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_startTLS.ldif           |    4 ++--
 opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/setup/enable_key_mgr_provider.ldif        |    1 -
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/setup/enable_key_mgr_provider.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/setup/enable_key_mgr_provider.ldif
index 1ade8cd..64cef2b 100644
--- a/opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/setup/enable_key_mgr_provider.ldif
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/jks/setup/enable_key_mgr_provider.ldif
@@ -32,4 +32,3 @@
 ds-cfg-key-store-pin: servercert
 -
 delete: ds-cfg-key-store-pin-file
-
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_key_mgr_provider.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_key_mgr_provider.ldif
index f0248a3..999df0d 100644
--- a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_key_mgr_provider.ldif
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pkcs12/teardown/disable_key_mgr_provider.ldif
@@ -27,4 +27,3 @@
 changetype: modify
 replace: ds-cfg-key-manager-provider-enabled
 ds-cfg-key-manager-provider-enabled: false
-
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_startTLS.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_startTLS.ldif
index a9ba030..6f1e79a 100644
--- a/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_startTLS.ldif
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/setup/enable_startTLS.ldif
@@ -28,9 +28,9 @@
 replace: ds-cfg-allow-start-tls
 ds-cfg-allow-start-tls: true
 -
-replace: ds-cfg-trust-manager-provider-dn
+add: ds-cfg-trust-manager-provider-dn
 ds-cfg-trust-manager-provider-dn: cn=Blind Trust,cn=Trust Manager Providers,cn=config
 -
-replace: ds-cfg-key-manager-provider-dn
+add: ds-cfg-key-manager-provider-dn
 ds-cfg-key-manager-provider-dn: cn=JKS,cn=Key Manager Providers,cn=config
 
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/teardown/disable_startTLS.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/teardown/disable_startTLS.ldif
index 8c9c234..99ebcae 100644
--- a/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/teardown/disable_startTLS.ldif
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/startTLS/teardown/disable_startTLS.ldif
@@ -27,4 +27,8 @@
 changetype: modify
 replace: ds-cfg-allow-start-tls
 ds-cfg-allow-start-tls: false
+-
+delete: ds-cfg-trust-manager-provider-dn
+-
+delete: ds-cfg-key-manager-provider-dn
 

--
Gitblit v1.10.0