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