From ee55b8d4d3f8b7696c447c8d8deb86f108beb3e9 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Thu, 12 Apr 2007 08:23:52 +0000
Subject: [PATCH] Issue 1493 Overide default STAX signals

---
 opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml b/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml
index 3c3046d..892456e 100755
--- a/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml
+++ b/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml
@@ -446,6 +446,23 @@
     </function-prolog>
     <function-no-args />
     <sequence>
+
+      <!-- Check the SignalRaised flag -->    
+      <if expr="SignalRaised">
+        <sequence>
+          <message>
+            'A signal (%s) was raised during this test case' % SignalRaised
+          </message>
+          <tcstatus result="'fail'"/>
+        </sequence>
+      </if>
+
+      <!-- Reset the SignalRaised flag -->
+      <script>
+        SignalRaised='' 
+      </script>
+
+      <!-- Query the test case results -->            
       <call function="'queryTestcase'" />
       
       <script>

--
Gitblit v1.10.0