From a53a0b38214c0bc708fa0e9c1e6a22aae4158ec0 Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Mon, 19 Mar 2012 17:59:33 +0000
Subject: [PATCH] Functional tests show tail of error log on stopping server

---
 opends/tests/staf-tests/shared/functions/utils.xml |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/utils.xml b/opends/tests/staf-tests/shared/functions/utils.xml
index b198112..2ab9b55 100755
--- a/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opends/tests/staf-tests/shared/functions/utils.xml
@@ -798,11 +798,14 @@
       </loop>
 
       <if expr="checkRC != 48">
-        <message>
-          'Server is not stopped after %sms \
-          (%s/logs/server.pid still exists on %s)' \
-          % (noOfLoops*noOfMilliSeconds,dsPath,location)
-        </message>
+        <sequence>
+          <message>
+            'Server is not stopped after %sms \
+            (%s/logs/server.pid still exists on %s)' \
+            % (noOfLoops*noOfMilliSeconds,dsPath,location)
+          </message>
+          <tcstatus result="'fail'"/>
+        </sequence>
       </if>
     </sequence>
   </function>

--
Gitblit v1.10.0