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