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="_pre"/>
3551N/A <!--- Test Suite information 3551N/A #@TestSuiteName Setup-Uninstall _pre Tests 3551N/A #@TestSuitePurpose setup minimal environment for the other 3551N/A #@TestGroup Setup-Uninstall 3551N/A CurrentTestPath['group'] = 'setup'
3551N/A CurrentTestPath['suite'] = '_pre'
3551N/A <
call function="'testSuite_Preamble'"/>
3551N/A <!--- Test Case information 3551N/A #@TestMarker Setup-Uninstall environment setup 3551N/A #@TestName Setup-Uninstall: _pre: prepare_zip 3551N/A #@TestPurpose Have a "ready-to-install" OpenDS for other 3551N/A #@TestStep Copy then unzip a .ZIP OpenDS distribution 3551N/A #@TestResult PASS if all steps ran without errors 3551N/A <
testcase name="getTestCaseName('prepare_zip')">
3551N/A <
call function="'testCase_Preamble'"/>
3551N/A <
message>'Prepare Open DS ZIP (in %s)' % ODS_UNZIPPED</
message>
3612N/A <
call function="'createTopology'">
3612N/A { 'initialiseInstance' : False }
3612N/A <
call function="'checktestRC'">
3551N/A <
call function="'runSTAFCommand'">
3551N/A { 'name' : 'Extract OpenDS ZIP file',
3612N/A 'location' : STAF_REMOTE_HOSTNAME,
3551N/A 'arguments' : 'ZIPFILE %s/%s TODIRECTORY %s RESTOREPERMISSION' \
3690N/A % (DIRECTORY_INSTANCE_DIR, ZIPNAME, ODS_UNZIPPED)
3551N/A <
call function="'checktestRC'">
3551N/A 'result' : 'FAIL to unzip OpenDS ZIP file',
3551N/A <
call function="'testCase_Postamble'"/>
3551N/A <
call function="'testSuite_Postamble'"/>