From 8a2e109ceb3c6f6053b845d43ce74f284b8766ca Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 19 May 2008 17:53:33 +0000
Subject: [PATCH] Fix SNMP tests compilation issue on Windows

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

diff --git a/opends/tests/shared/functions/dsconfig.xml b/opends/tests/shared/functions/dsconfig.xml
index 41d3883..94eb618 100755
--- a/opends/tests/shared/functions/dsconfig.xml
+++ b/opends/tests/shared/functions/dsconfig.xml
@@ -1019,7 +1019,7 @@
         
         if aciValue:
             aciValue=aciValue.replace('"','\\"')
-            if isWindows:
+            if is_windows_platform(mylocation):
                 aciValue=aciValue.replace(r'||',r'"||"')
         
         STAFCmdParamsList=[]
@@ -2140,5 +2140,5 @@
         STAXResult
       </return>
     </sequence>
-  </function>
+  </function>  
 </stax>

--
Gitblit v1.10.0