<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<!DOCTYPE stax SYSTEM "../../shared/stax.dtd">
|
<!--
|
! CDDL HEADER START
|
!
|
! 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
|
! with the License.
|
!
|
! You can obtain a copy of the license at
|
! trunk/opends/resource/legal-notices/OpenDS.LICENSE
|
! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
|
! 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
|
! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
|
! 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]
|
!
|
! CDDL HEADER END
|
!
|
! Portions Copyright 2006-2007 Sun Microsystems, Inc.
|
! -->
|
<stax>
|
|
<defaultcall function="main_privileges"/>
|
|
<function name="main_privileges">
|
|
<sequence>
|
|
<block name="'privileges'">
|
|
<sequence>
|
|
<script>
|
CurrentTestPath['group']='privileges'
|
GLOBAL_ACI_SEARCH="(targetattr!=\"userPassword||authPassword\")(version 3.0; acl \"Anonymous read access\"; allow (read,search,compare) userdn=\"ldap:///anyone\";)"
|
</script>
|
|
<call function="'testGroup_Preamble'"/>
|
|
|
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
|
file="'%s/testcases/privileges/privileges_users.xml' % (TESTS_DIR)"/>
|
<call function="'privileges_users'" />
|
|
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
|
file="'%s/testcases/privileges/privileges_directory_manager.xml' % (TESTS_DIR)"/>
|
<call function="'privileges_directory_manager'" />
|
|
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
|
file="'%s/testcases/privileges/privileges_new_root_user.xml' % (TESTS_DIR)"/>
|
<call function="'privileges_new_root_user'" />
|
|
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
|
file="'%s/testcases/privileges/privileges_import_task.xml' % (TESTS_DIR)"/>
|
<call function="'privileges_import_task'" />
|
|
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
|
file="'%s/testcases/privileges/privileges_export_task.xml' % (TESTS_DIR)"/>
|
<call function="'privileges_export_task'" />
|
|
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
|
file="'%s/testcases/privileges/privileges_backup_task.xml' % (TESTS_DIR)"/>
|
<call function="'privileges_backup_task'" />
|
|
<import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
|
file="'%s/testcases/privileges/privileges_restore_task.xml' % (TESTS_DIR)"/>
|
<call function="'privileges_restore_task'" />
|
|
|
<call function="'testGroup_Postamble'"/>
|
|
</sequence>
|
|
</block>
|
|
</sequence>
|
|
</function>
|
|
</stax>
|