3551N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
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 ! You can obtain a copy of the license at 3551N/A ! See the License for the specific language governing permissions 3551N/A ! and limitations under the License. 3551N/A ! When distributing Covered Code, exclude this CDDL HEADER in each 3551N/A ! file and exclude the License file at 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 ! Copyright 2008 Sun Microsystems, Inc. 6035N/A ! Portions Copyright 2013 ForgeRock AS 3551N/A <
defaultcall function="main_setup"/>
3551N/A <
function name="main_setup">
3816N/A <
function-
required-
arg name="STAXParentID"/>
3816N/A <!--- Load the job environment for the test group execution --> 3816N/A <
import machine="STAF_LOCAL_HOSTNAME" 3816N/A <
call function="'loadJobEnvironment'">
3816N/A { 'parent' : STAXParentID }
3551N/A <!--- Test Group information 3551N/A #@TestGroupName Setup tests 3551N/A #@TestGroupPurpose Test the tools commands. 3551N/A CurrentTestPath['group'] = 'setup'
3551N/A <
call function="'testGroup_Preamble'"/>
3551N/A <
call function="'runSTAFCommand'">
3551N/A { 'name' : 'Create directory for this group',
3612N/A 'location' : STAF_REMOTE_HOSTNAME,
3551N/A 'arguments' : 'DIRECTORY %s FAILIFEXISTS' % OUT_GROUP
6035N/A <
call function="'runSTAFCommand'">
6035N/A { 'name' : 'Create directory to contain unzipped OpenDS',
6035N/A 'location' : STAF_REMOTE_HOSTNAME,
6035N/A 'arguments' : 'DIRECTORY %s FAILIFEXISTS' % ODS_UNZIPPED
6373N/A <!-- Get the information about the server --> 6373N/A { 'location' : STAF_REMOTE_HOSTNAME,
6373N/A 'variable' : 'Job%s_ServerInfo' % STAXParentID
6373N/A instPath = '%s/%s' % (DIRECTORY_INSTANCE_BIN,OPENDSNAME)
6373N/A serverInformation=jobInfo[instPath]
6373N/A dsVersion=serverInformation['server version']
6373N/A if dsVersion >= '2.5.0' and dsVersion != '2.5.0-Xpress1':
6373N/A licenseOption = '--acceptLicense'
3551N/A <
iterate var="_test" in="testList">
3551N/A <
import machine="STAF_LOCAL_HOSTNAME" 3551N/A (TESTS_DIR,_test[0],_test[1])"/>
3551N/A <
call function="'%s' % _test[1]" />
3551N/A <
call function="'testGroup_Postamble'"/>