5065N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
5065N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
5065N/A<!--
5065N/A ! CDDL HEADER START
5065N/A !
5065N/A ! The contents of this file are subject to the terms of the
5065N/A ! Common Development and Distribution License, Version 1.0 only
5065N/A ! (the "License"). You may not use this file except in compliance
5065N/A ! with the License.
5065N/A !
5065N/A ! You can obtain a copy of the license at
5065N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
5065N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
5065N/A ! See the License for the specific language governing permissions
5065N/A ! and limitations under the License.
5065N/A !
5065N/A ! When distributing Covered Code, include this CDDL HEADER in each
5065N/A ! file and include the License file at
5065N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
5065N/A ! add the following below this CDDL HEADER, with the fields enclosed
5065N/A ! by brackets "[]" replaced with your own identifying information:
5065N/A ! Portions Copyright [yyyy] [name of copyright owner]
5065N/A !
5065N/A ! CDDL HEADER END
5065N/A !
5065N/A ! Copyright 2010 Sun Microsystems, Inc.
5065N/A ! -->
5065N/A<stax>
5065N/A
5065N/A <defaultcall function="main_clu_secure"/>
5065N/A
5065N/A <function name="main_clu_secure">
5065N/A
5065N/A <function-list-args>
5065N/A <function-required-arg name="STAXParentID"/>
5065N/A </function-list-args>
5065N/A
5065N/A <sequence>
5065N/A
5065N/A <block name="'clu_secure'">
5065N/A
5065N/A <sequence>
5065N/A
5065N/A <!--- Load the job environment for the test group execution -->
5065N/A <import machine="STAF_LOCAL_HOSTNAME"
5065N/A file="'%s/environment.xml' % TESTS_FUNCTIONS_DIR" />
5065N/A <call function="'loadJobEnvironment'">
5065N/A { 'parent' : STAXParentID }
5065N/A </call>
5065N/A
5065N/A <!--- Test Group information
5065N/A #@TestGroupName Clu secure tests
5065N/A #@TestGroupPurpose Test the tools commands in secure mode.
5065N/A -->
5065N/A <script>
5065N/A CurrentTestPath['group'] = 'clu_secure'
5065N/A </script>
5065N/A
5065N/A <call function="'testGroup_Preamble'"/>
5065N/A
5065N/A <script>
5065N/A testList = []
5065N/A testList.append(['.','clus_setup'])
5065N/A testList.append(['.','clus_jks'])
5065N/A testList.append(['clus_ssl','clus_ssl'])
5065N/A testList.append(['clus_starttls','clus_starttls'])
5065N/A testList.append(['clus_saslexternal','clus_saslexternal'])
5065N/A testList.append(['.','clus_cleanup'])
5065N/A </script>
5065N/A
5065N/A <iterate var="_test" in="testList">
5065N/A <sequence>
5065N/A <import machine="STAF_LOCAL_HOSTNAME"
5065N/A file="'%s/testcases/clu_secure/%s/%s.xml' %
5065N/A (TESTS_DIR,_test[0],_test[1])"/>
5065N/A <call function="'%s' % _test[1]" />
5065N/A </sequence>
5065N/A </iterate>
5065N/A
5065N/A <call function="'testGroup_Postamble'"/>
5065N/A
5065N/A </sequence>
5065N/A
5065N/A </block>
5065N/A
5065N/A </sequence>
5065N/A
5065N/A </function>
5065N/A
5065N/A</stax>