0N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2362N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
0N/A<!--
0N/A ! CDDL HEADER START
0N/A !
0N/A ! The contents of this file are subject to the terms of the
0N/A ! Common Development and Distribution License, Version 1.0 only
0N/A ! (the "License"). You may not use this file except in compliance
0N/A ! with the License.
0N/A !
0N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
0N/A ! or http://forgerock.org/license/CDDLv1.0.html.
0N/A ! See the License for the specific language governing permissions
0N/A ! and limitations under the License.
0N/A !
0N/A ! When distributing Covered Code, include this CDDL HEADER in each
0N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
0N/A ! If applicable, add the following below this CDDL HEADER, with the
2362N/A ! fields enclosed by brackets "[]" replaced with your own identifying
2362N/A ! information:
2362N/A ! Portions Copyright [yyyy] [name of copyright owner]
0N/A !
0N/A ! CDDL HEADER END
0N/A !
0N/A ! Copyright 2008 Sun Microsystems, Inc.
0N/A ! -->
0N/A<stax>
0N/A
0N/A <defaultcall function="_post"/>
0N/A
0N/A <function name="_post">
0N/A
0N/A <sequence>
0N/A
0N/A <!--- Test Suite information
0N/A #@TestSuiteName Setup-Uninstall _post Tests
0N/A #@TestSuitePurpose cleanup after all suites of this group are done
0N/A #@TestSuiteGroup _post
0N/A #@TestSuiteID _post Tests
0N/A #@TestGroup Setup-Uninstall
0N/A #@TestScript _post.xml
0N/A #@TestHTMLLink http://opends.dev.java.net/
0N/A -->
0N/A
0N/A <script>
0N/A if not CurrentTestPath.has_key('group'):
0N/A CurrentTestPath['group'] = 'setup'
0N/A CurrentTestPath['suite'] = '_post'
0N/A </script>
0N/A
0N/A <call function="'testSuite_Preamble'"/>
0N/A
0N/A <!--- Test Case information
0N/A #@TestMarker Setup-Uninstall environment setup
0N/A #@TestName Setup-Uninstall: _pre: cleanup
0N/A #@TestID cleanup
0N/A #@TestPurpose Remove the "ready-to-install" OpenDS created by
0N/A the _pre test suite
0N/A #@TestPreamble
0N/A #@TestStep Recursive remove of unzipped OpenDS
0N/A #@TestPostamble
0N/A #@TestResult PASS if all steps ran without errors
0N/A -->
0N/A <testcase name="getTestCaseName('cleanup')">
0N/A
0N/A <sequence>
0N/A
0N/A <call function="'testCase_Preamble'"/>
0N/A <message>'Remove all files created by setup tests'</message>
0N/A
0N/A <call function="'runSTAFCommand'">
0N/A { 'name' : 'Delete directory containing unzipped OpenDS',
0N/A 'location' : STAF_REMOTE_HOSTNAME,
0N/A 'service' : 'FS',
0N/A 'request' : 'DELETE',
0N/A 'arguments' : 'ENTRY %s RECURSE CONFIRM' % OUT_GROUP
0N/A }
0N/A </call>
0N/A
0N/A <call function="'checktestRC'">
0N/A { 'returncode' : RC,
0N/A 'expected' : 0,
0N/A 'result' : 'FAIL to remove files for this group at cleanup',
0N/A }
0N/A </call>
0N/A
0N/A <call function="'testCase_Postamble'"/>
0N/A
0N/A </sequence>
0N/A
0N/A </testcase>
0N/A
0N/A <call function="'testSuite_Postamble'"/>
0N/A
0N/A </sequence>
0N/A
0N/A </function>
0N/A
0N/A</stax>
0N/A