From b8ac51c444faac54727ad6dca40c075d34b7f303 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Fri, 04 Apr 2008 09:00:02 +0000
Subject: [PATCH] Major Problem: issue when using NFS path value for TMPDIR variable (staf copy loops for ever  when trying to copy a folder to itself)

---
 opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml b/opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml
index a9f3c8c..c13c5b6 100755
--- a/opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml
+++ b/opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml
@@ -368,10 +368,19 @@
           </elseif>
           <else>
             <sequence>
+              <script>
+                str = 'ERROR : cant find files %s/%s.xml and %s/%s.xml' % \
+                (localWorkingDir,client.getName(),\
+                 sharedWorkingdir,client.getName())
+              </script>
               <message>
-                'ERROR : cant find files %s and %s' % \
-                (localClientXmlFile,clientXmlFile)
+                str
               </message>
+              <call function="'writeMessage'">
+              { 'fileFd'  : fileFd,
+                'content' : str
+              }
+              </call>
               <script>ERR_NUM[0] += 1</script>
             </sequence>
           </else>
@@ -403,11 +412,16 @@
       <if expr="timerKilled == TRUE">
         <sequence>
           <!-- TBD: The client has been killed, we have to make sure that 
-               xml result structure is coherent... -->
+               xml result structure is coherent...
+               Another issue: in this case we can not get the client RC
+          -->
           <message>
-            'WARNING: client %s has been killed, %s is probably over loaded'%\
+            'ERROR: client %s has been killed, %s is probably over loaded'%\
             (client.getName(),client.getHost())
           </message>
+          <script>
+            ERR_NUM[0] += 1
+          </script>
           <!-- 
           <call function="'writeEndTagOperation'">{'fileFd'  : fileFd}</call>
           -->

--
Gitblit v1.10.0