From a22d228c8e1227c1d4a09ffe49de914da00f6e58 Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Thu, 13 Sep 2007 19:18:44 +0000
Subject: [PATCH] Fix for Issue 2040 where a different format is required for the or symbol (||) in ACIs used with dsconfig in Windows.

---
 opendj-sdk/opends/tests/functional-tests/shared/functions/dsconfig.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/shared/functions/dsconfig.xml b/opendj-sdk/opends/tests/functional-tests/shared/functions/dsconfig.xml
index 0ee7c4d..8a4c75e 100755
--- a/opendj-sdk/opends/tests/functional-tests/shared/functions/dsconfig.xml
+++ b/opendj-sdk/opends/tests/functional-tests/shared/functions/dsconfig.xml
@@ -1065,6 +1065,8 @@
         
         if aciValue:
             aciValue=aciValue.replace('"','\\"')
+            if isWindows:
+                aciValue=aciValue.replace(r'||',r'"||"')
         
         STAFCmdParamsList=[]
         STAFCmdParamsList.append('set-access-control-handler-prop ')

--
Gitblit v1.10.0