From 35b6788e5bf43e61b0fb9b3b00558e098eee6f6a Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Tue, 18 Mar 2008 13:08:17 +0000
Subject: [PATCH] add scope=local for functions declaration and fix related issues

---
 opends/tests/system-tests/phases/generateLdif/generateLdif.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opends/tests/system-tests/phases/generateLdif/generateLdif.xml b/opends/tests/system-tests/phases/generateLdif/generateLdif.xml
index 4264359..a3d06ac 100755
--- a/opends/tests/system-tests/phases/generateLdif/generateLdif.xml
+++ b/opends/tests/system-tests/phases/generateLdif/generateLdif.xml
@@ -31,7 +31,7 @@
 
 
   <!-- ************************************************************ -->
-  <function name="generateLdif">
+  <function name="generateLdif" scope="local">
     <function-map-args>
       <function-arg-def name="suffix" type="required">
         <function-arg-description>
@@ -228,7 +228,7 @@
 
 
   <!-- ************************************************************ -->
-  <function name="generateTemplate">
+  <function name="generateTemplate" scope="local">
     <function-map-args>
       <function-arg-def name="templateFile" type="required">
         <function-arg-description>
@@ -285,11 +285,11 @@
         { 'fileName' : templateFile }
       </call>
       <call function="'checkRC'">
-        { 'returncode' : RC ,
-          'result'     : STAXResult,
+        { 'returncode' : STAXResult,
+          'result'     : 'template file does not exist',
           'fileFd'     : LOG_MAIN_FD }
       </call>
-      <call function="'writeEndTagOperation'">{'fileFd'  : fileFd}</call>
+      <call function="'writeEndTagOperation'">{'fileFd'  : LOG_MAIN_FD}</call>
       
     </sequence>
   </function>

--
Gitblit v1.10.0