From 752e3414708c0a1423ca3cfbb1143ada386608be Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Mon, 23 Apr 2007 18:31:53 +0000
Subject: [PATCH] The modify entry functional test suite was not cleaning up after itself.

---
 opends/tests/functional-tests/testcases/aci/aci_modify_entry.xml |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/aci/aci_modify_entry.xml b/opends/tests/functional-tests/testcases/aci/aci_modify_entry.xml
index d28e154..ff6cd7e 100755
--- a/opends/tests/functional-tests/testcases/aci/aci_modify_entry.xml
+++ b/opends/tests/functional-tests/testcases/aci/aci_modify_entry.xml
@@ -3537,6 +3537,46 @@
               </sequence>
             </testcase>
 
+            <!---
+              Place test-specific test information here.
+              The tag, TestMarker, must be the same as the tag, TestSuiteName.
+              #@TestMarker                ACI Modify Entry Tests
+              #@TestName                  Postamble
+              #@TestIssue                 444
+              #@TestPurpose               Remove entries
+              #@TestPreamble              none
+              #@TestStep                  Directory Manager removes entries that were used for testing.
+              #@TestPostamble             none
+              #@TestResult                Success if OpenDS returns 0.
+            -->
+            <!-- cross reference to http://docs.sun.com/source/816-6698-10/aci.html -->
+            <!-- cross reference to DS6 docs -->
+            <testcase name="'ACI: Modify: Postamble'">
+            <sequence>
+              <call function="'testCase_Preamble'"/>
+                <message>
+                   'ACI: Modify: Postamble - delete branch, o=Modify Tests'
+                </message>
+    
+                <call function="'DeleteEntry'">
+                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
+                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
+                    'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
+                    'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
+                    'dsBaseDN'         : 'o=Modify Tests, o=ACI Tests,dc=example,dc=com' ,
+                    'extraParams'      : '-x'}
+                </call>
+
+                <call function="'checktestRC'">
+                    { 'returncode' : RC ,
+                      'result'     : STAXResult }
+                </call>
+                
+              <call function="'testCase_Postamble'"/>
+  
+            </sequence>
+          </testcase>
+
           <call function="'testSuite_Postamble'"/>
             
         </sequence>

--
Gitblit v1.10.0