3361N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
3361N/A ! The contents of this file are subject to the terms of the 3361N/A ! Common Development and Distribution License, Version 1.0 only 3361N/A ! (the "License"). You may not use this file except in compliance 3361N/A ! You can obtain a copy of the license at 3361N/A ! See the License for the specific language governing permissions 3361N/A ! and limitations under the License. 3361N/A ! When distributing Covered Code, include this CDDL HEADER in each 3361N/A ! file and include the License file at 3361N/A ! add the following below this CDDL HEADER, with the fields enclosed 3361N/A ! by brackets "[]" replaced with your own identifying information: 3361N/A ! Portions Copyright [yyyy] [name of copyright owner] 4495N/A ! Portions Copyright 2008-2009 Sun Microsystems, Inc. 3361N/A <
defaultcall function="dsml_cleanup" />
3361N/A <
function name="dsml_cleanup">
4495N/A <
block name="'dsml_cleanup'">
3361N/A <!--- Test Case information 3361N/A #@TestName cleanup: stop directory server 3361N/A #@TestPurpose Stop the directory server necessary to the 3361N/A #@TestResult Success if stopDSWithScript returns 0. 3361N/A <
testcase name="getTestCaseName('cleanup: stop directory server')">
3361N/A <
call function="'testCase_Preamble'"/>
3361N/A 'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
3361N/A <
call function="'StopDsWithScript'">
3853N/A { 'location' : STAF_REMOTE_HOSTNAME,
3853N/A 'dsHost' : DIRECTORY_INSTANCE_HOST,
3853N/A 'dsAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT,
3853N/A 'dsBindDN' : DIRECTORY_INSTANCE_DN,
3853N/A 'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
3361N/A <
call function="'checktestRC'">
3361N/A <
call function="'testCase_Postamble'"/>
3361N/A <!--- Test Case information 3361N/A #@TestName cleanup: remove DS instance 3361N/A #@TestPurpose remove DS instance 3361N/A #@TestResult Success if removeInstance returns 0. 3361N/A <
testcase name="getTestCaseName('cleanup: remove directory server')">
3361N/A <
call function="'testCase_Preamble'"/>
3361N/A <
call function="'removeInstance'"/>
3361N/A <
call function="'checktestRC'">
3361N/A <
call function="'testCase_Postamble'"/>
3361N/A <!--- Test Case information 3361N/A #@TestName cleanup: stop web webcontainer 3361N/A #@TestPurpose Stop the webcontainer necessary to the 3361N/A #@TestResult Success if stopWebcontainerWithScript returns 0. 3361N/A <
testcase name="getTestCaseName('cleanup: stop webcontainer')">
3361N/A <
call function="'testCase_Preamble'"/>
4978N/A <
call function="'stopWebcontainerWithScript'"/>
3361N/A <
call function="'testCase_Postamble'"/>
3361N/A <!--- Test Case information 3361N/A #@TestName cleanup: stops and remove webcontainer 3361N/A #@TestPurpose Remove the webcontainer necessary to the 3361N/A #@TestResult Success if removeWebcontainer returns 0. 3361N/A <
testcase name="getTestCaseName('cleanup: remove webcontainer')">
3361N/A <
call function="'testCase_Preamble'"/>
3361N/A <
call function="'removeWebcontainer'" />
3361N/A <
call function="'checktestRC'">
3361N/A <
call function="'testCase_Postamble'"/>