From a50f580e789be427d5ba4a1f3a2a8eef84dfcefd Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 24 Nov 2008 10:14:34 +0000
Subject: [PATCH] Fix for Issue 3025: results should be the same on all OS/platforms

---
 opendj-sdk/opends/tests/staf-tests/shared/functions/dsadm.xml |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/opendj-sdk/opends/tests/staf-tests/shared/functions/dsadm.xml b/opendj-sdk/opends/tests/staf-tests/shared/functions/dsadm.xml
index a8d5264..bb4a922 100755
--- a/opendj-sdk/opends/tests/staf-tests/shared/functions/dsadm.xml
+++ b/opendj-sdk/opends/tests/staf-tests/shared/functions/dsadm.xml
@@ -1036,6 +1036,10 @@
           'expectedRC': expectedRC
         }
       </call>
+
+      <return>
+        STAXResult
+      </return>
     </sequence>
   </function>
 
@@ -4266,11 +4270,12 @@
       </message>
             
       <call function="'runCommand'">
-        { 'location'  : location,
-          'name'      : 'manage-tasks Script',
-          'command'   : STAFCmd,
-          'arguments' : STAFCmdParams,
-          'expectedRC': expectedRC
+        { 'location'   : location,
+          'envCmd'     : [ 'LANG=C' , 'LC_ALL=C' ] ,
+          'name'       : 'manage-tasks Script',
+          'command'    : STAFCmd,
+          'arguments'  : STAFCmdParams,
+          'expectedRC' : expectedRC
         }
       </call>
       <return>

--
Gitblit v1.10.0