5789N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
5789N/A ! The contents of this file are subject to the terms of the 5789N/A ! Common Development and Distribution License, Version 1.0 only 5789N/A ! (the "License"). You may not use this file except in compliance 5789N/A ! You can obtain a copy of the license at 5789N/A ! See the License for the specific language governing permissions 5789N/A ! and limitations under the License. 5789N/A ! When distributing Covered Code, include this CDDL HEADER in each 5789N/A ! file and include the License file at 5789N/A ! add the following below this CDDL HEADER, with the fields enclosed 5789N/A ! by brackets "[]" replaced with your own identifying information: 5789N/A ! Portions Copyright [yyyy] [name of copyright owner] 5789N/A ! Copyright 2012 ForgeRock AS. 5789N/A <
defaultcall function="main_pwp_allow_user_password_changes"/>
5789N/A <
function name="main_pwp_allow_user_password_changes" scope="local">
5789N/A <
block name="'main_pwp_allow_user_password_changes'">
5789N/A CurrentTestPath['group'] = 'password_policy'
5789N/A CurrentTestPath['suite'] = 'allow_user_password_changes'
5789N/A _group=CurrentTestPath['group']
5789N/A _label = 'PWP Allow User Pswd Changes'
5789N/A <!--- Test Suite information 5789N/A #@TestSuiteName Password policy allow_user_password_changes test suite 5789N/A #@TestSuitePurpose Verify password policy allow_user_password_changes operations 5789N/A #@TestSuiteID allow_user_password_changes 5789N/A #@TestSuiteGroup password_policy 5789N/A #@TestGroup password_policy 5789N/A <
call function="'testSuite_Preamble'"/>
5789N/A <
call function="'common_setup'">
5789N/A <!-- List of Import of Test Functions --> 5789N/A <!-- Import the files for this test suite --> 5789N/A <
iterate var="_import" in="importList">
5789N/A <
import machine="STAF_LOCAL_HOSTNAME" 5789N/A <!-- Specific to allow_user_password_changes password policy tests --> 5789N/A basedn = 'ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com'
5789N/A basepwp = 'cn=Default Password Policy,cn=Password Policies,cn=config'
5789N/A msg1 = 'Password Policy: Allow User Pswd Changes:'
5789N/A <!-- List of Test Cases --> 5789N/A <
iterate var="__test" in="testsList">
5789N/A <
call function="'%s' % (__test)" />
5789N/A <
message log="1" level="'fatal'">
5789N/A 'Setup of test suite failed.'
5789N/A <
message>'Test Cases Completed.'</
message>
5789N/A <!-- Test Suite Cleanup --> 5789N/A <
message>'Finally: Password Policy Cleanup.'</
message>
5789N/A <
call function="'common_cleanup'">
5789N/A <
catch exception="'STAFException'">
5789N/A <
message log="1" level="'fatal'">'Cleanup of test suite failed.'</
message>
5789N/A <
call function="'testSuite_Postamble'"/>