From 0970a537bfaaa0238347e42e54d9458d7da6b595 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

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

diff --git a/opendj-sdk/opends/tests/staf-tests/shared/functions/utils.xml b/opendj-sdk/opends/tests/staf-tests/shared/functions/utils.xml
index b198112..2ab9b55 100755
--- a/opendj-sdk/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opendj-sdk/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