From 88b6b0c8403e014ecfc0c0379dd6f2bdd472df4a Mon Sep 17 00:00:00 2001
From: madiot <madiot@localhost>
Date: Wed, 16 Sep 2009 13:48:41 +0000
Subject: [PATCH] tomcat-6.0.20 startup.bat return code now is consistent with unix make the backup of tomcat logs from remote to controler host

---
 opends/tests/staf-tests/shared/functions/webcontainer.xml |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/webcontainer.xml b/opends/tests/staf-tests/shared/functions/webcontainer.xml
index 3ec0c2d..e6b97bb 100755
--- a/opends/tests/staf-tests/shared/functions/webcontainer.xml
+++ b/opends/tests/staf-tests/shared/functions/webcontainer.xml
@@ -329,21 +329,13 @@
         '%s' % STAFCmd
       </message>
 
-      <!-- On Windows systems, startup command always returns 1 -->
-      <script>
-        if is_windows_platform(location):
-          expectedRC=1
-        else:
-          expectedRC=0
-      </script>
-
       <call function="'runCommand'">
         { 'location' : location,
         'command'    : STAFCmd,
         'envCmd'     : STAFCmdEnv,
         'name'       : STAFCmd,
         'path'       : wcBinPath,
-        'expectedRC' : expectedRC
+        'expectedRC' : 0
         }
       </call>
       

--
Gitblit v1.10.0