5796N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
5796N/A ! The contents of this file are subject to the terms of the 5796N/A ! Common Development and Distribution License, Version 1.0 only 5796N/A ! (the "License"). You may not use this file except in compliance 5796N/A ! You can obtain a copy of the license at 5796N/A ! See the License for the specific language governing permissions 5796N/A ! and limitations under the License. 5796N/A ! When distributing Covered Code, include this CDDL HEADER in each 5796N/A ! file and include the License file at 5796N/A ! add the following below this CDDL HEADER, with the fields enclosed 5796N/A ! by brackets "[]" replaced with your own identifying information: 5796N/A ! Portions Copyright [yyyy] [name of copyright owner] 5796N/A ! Copyright 2010 Sun Microsystems, Inc. 5796N/A <
defaultcall function="clus_cleanup"/>
5796N/A <
function name="clus_cleanup">
5796N/A <
block name="'clus_cleanup'">
5796N/A CurrentTestPath['group'] = 'clu_secure'
5796N/A CurrentTestPath['suite'] = STAXCurrentBlock
<
call function="'testSuite_Preamble'"/>
<!--- Test Case information #@TestName cleanup: stop DS #@TestResult Success if StopDsWithScript returns 0. <
testcase name="getTestCaseName('Stop DS')">
<
call function="'testCase_Preamble'"/>
'Stop DS running on port %s' \
% (DIRECTORY_INSTANCE_PORT)
<
call function="'StopDsWithScript'">
'location' : STAF_REMOTE_HOSTNAME ,
'dsHost' : DIRECTORY_INSTANCE_HOST ,
'dsAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT ,
'dsBindDN' : DIRECTORY_INSTANCE_DN ,
'dsBindPwd' : DIRECTORY_INSTANCE_PSWD
<
call function="'checktestRC'">
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestName cleanup: remove DS topology #@TestPurpose Remove the topology created for #@TestStep Remove the topology created for #@TestResult Success if removeTopology returns 0. <
testcase name="getTestCaseName('Remove DS topology')">
<
call function="'testCase_Preamble'"/>
'Remove DS topology created for the test suite'
<
call function="'removeTopology'"/>
<
call function="'checktestRC'">
<
call function="'testCase_Postamble'"/>
<
call function="'testSuite_Postamble'"/>