From 948ffcf98219ce579763e787786cd5647c2755f0 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.

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

diff --git a/opends/tests/functional-tests/shared/functions/dsconfig.xml b/opends/tests/functional-tests/shared/functions/dsconfig.xml
index 0ee7c4d..8a4c75e 100755
--- a/opends/tests/functional-tests/shared/functions/dsconfig.xml
+++ b/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