6031e9c7eb72435516a6828deb2e97533ed0382dludovicp<?xml version="1.0" encoding="UTF-8" standalone="no"?>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! CDDL HEADER START
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! The contents of this file are subject to the terms of the
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! Common Development and Distribution License, Version 1.0 only
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! (the "License"). You may not use this file except in compliance
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! with the License.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! or http://forgerock.org/license/CDDLv1.0.html.
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! See the License for the specific language governing permissions
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! and limitations under the License.
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! When distributing Covered Code, include this CDDL HEADER in each
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! file and include the License file at legal-notices/CDDLv1_0.txt.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! If applicable, add the following below this CDDL HEADER, with the
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! fields enclosed by brackets "[]" replaced with your own identifying
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! information:
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! Portions Copyright [yyyy] [name of copyright owner]
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! CDDL HEADER END
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp ! Copyright 2010 Sun Microsystems, Inc.
aeea90de0b669f9f6fe3ae9aede72a212a7dfb12csovant ! Portions Copyright 2011-2013 ForgeRock AS.
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Import LDIF file
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Import LDIF file
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Import LDIF file using the default backend and start the server
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <function name="core_psearch_import-ldif_1" scope="local">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <testcase name="getTestCaseName('Import LDIF file')">
2b68af05b4308b32506f1d68f6357cdc458869d7ludovicp 'ldifFile' : '%s/core/psearch/default.ldif' % remote.data,
2b68af05b4308b32506f1d68f6357cdc458869d7ludovicp 'backEnd' : DIRECTORY_INSTANCE_BE
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp { 'expectedEntries' : ['uid=scarter,ou=People,dc=example,dc=com',
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'uid=dmiller, ou=People, dc=example,dc=com',
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'uid=rhunt, ou=People, dc=example,dc=com'] }
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Delete entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Delete entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "delete" option, detect delete operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "delete" option, in parallel delete some entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <function name="core_psearch_delete_1" scope="local">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <testcase name="getTestCaseName('Delete entries')">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete: starting the psearch client with "delete" option'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "delete",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/delete/psearch-delete.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete: delete entries tmorris,abergin,jwalker,tclow'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/delete/delete.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete: Check all delete operations have been successfully detected'
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'sourceLdif' : '%s/core/psearch/delete/psearch-delete.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'targetLdif' : '%s/core/psearch/delete/delete.ref' % remote.data,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputLdif' : '%s/psearch-delete-diffs.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Add-Modify-Moddn entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Add-Modify-Moddn entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "delete" option, no detect other operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "delete" option, in parallel make the following operations modify add moddn
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <function name="core_psearch_delete_2" scope="local">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <testcase name="getTestCaseName('Add-Modify-Moddn entries')">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete_blank: starting the psearch client with "delete" option'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "delete",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/delete/delete_blank.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete_blank: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete_blank: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete_blank: add entry uid=Bada Boum,ou=People,dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/delete/add.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete_blank: moddn entry uid=elott, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/delete/moddn.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete_blank: modify entry uid=rschneid, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/delete/modify.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_delete: Check "modify,add,moddn" operations have not been detected'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'entry' : '%s/core/psearch/delete/delete_blank.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'attribute' : 'TYPE'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Modify entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Modify entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "modify" option, detect modify operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "modify" option, in parallel modify some entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <function name="core_psearch_modify_1" scope="local">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <testcase name="getTestCaseName('Modify entries')">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify: starting the psearch client with "modify" option'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "modify",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/modify/psearch-modify.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify: modify entries uid=bjensen, ou=People, dc=example,dc=com\
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp uid=mwhite, ou=People, dc=example,dc=com\
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp uid=mtalbot, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/modify/modify.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify: Check all modify operations have been successfully detected'
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'sourceLdif' : '%s/core/psearch/modify/psearch-modify.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'targetLdif' : '%s/core/psearch/modify/modify.ref' % remote.data,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputLdif' : '%s/psearch-modify-diffs.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Add-Delete-Moddn entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Add-Delete-Moddn entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "modify" option, no detect other operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "modify" option, in parallel make the following operations add delete moddn
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <function name="core_psearch_modify_2" scope="local">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <testcase name="getTestCaseName('Add-Delete-Moddn entries')">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify_blank: starting the psearch client with "modify" option'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "modify",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/modify/psearch-modify_blank.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify_blank: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify_blank: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify_blank: add entry uid=Bidi Bim,ou=People,dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/modify/add.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify_blank: moddn entry uid=elotte, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/modify/moddn.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify_blank: delete entry Bidi Bim,ou=People,dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/modify/delete.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify: Check "delete,add,moddn" operations have not been detected'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'entry' : '%s/core/psearch/modify/psearch-modify_blank.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'attribute' : 'TYPE'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Moddn entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Moddn entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "moddn" option, detect moddn operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "moddn" option, in parallel moddn some entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <function name="core_psearch_moddn_1" scope="local">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn: starting the psearch client with "moddn" option'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "moddn",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/moddn/psearch-moddn.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn: moddn entries uid=mreuter, ou=People, dc=example,dc=com \
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp uid=jgoldste, ou=People, dc=example,dc=com \
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp uid=dlanoway, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/moddn/moddn.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn: Check all moddn operations have been successfully detected'
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'sourceLdif' : '%s/core/psearch/moddn/psearch-moddn.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'targetLdif' : '%s/core/psearch/moddn/moddn.ref' % remote.data,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputLdif' : '%s/psearch-moddn-diffs.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Add-Delete-Modify entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Add-Delete-Modify entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "moddn" option, no detect other operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "moddn" option, in parallel make the following operations add delete modify
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <function name="core_psearch_moddn_2" scope="local">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <testcase name="getTestCaseName('Add-Delete-Modify entries')">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn_blank: starting the psearch client with "moddn" option'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "moddn",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/moddn/psearch-moddn_blank.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn_blank: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_modify_blank: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn_blank: add entry uid=Bobo Baba,ou=People,dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/moddn/add.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn_blank: modify entry lrentz, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/moddn/modify.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn_blank: delete entry uid=Bobo Baba,ou=People,dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/moddn/delete.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_moddn: Check "delete,add,modify" operations have not been detected'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'entry' : '%s/core/psearch/moddn/psearch-moddn_blank.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'attribute' : 'TYPE'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Add entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Add entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "add" option, detect add operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "add" option, in parallel add some entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add: starting the psearch client with "add" options'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "add",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/add/psearch-add.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add: add entries uid=Bil Bo,ou=People,dc=example,dc=com \
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp Blam Blo,ou=People,dc=example,dc=com \
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp Blum Blue,ou=People,dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/add/add.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add: Check all add operations have been successfully detected'
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'sourceLdif' : '%s/core/psearch/add/psearch-add.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'targetLdif' : '%s/core/psearch/add/add.ref' % remote.data,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputLdif' : '%s/psearch-add-diffs.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <!--- Test Case information
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestMarker Core PSearch Tests
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestName Core: PSearch: Moddn-Delete-Modify entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestID Moddn-Delete-Modify entries
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPurpose Verify PSearch with "add" option, no detect other operations
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPreamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestSteps Start PSearch with "add" option, in parallel make the following operations moddn delete modify
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestPostamble
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp #@TestResult Test is successful if the result code is 0
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <testcase name="getTestCaseName('Moddn-Delete-Modify entries')">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add_blank: starting the psearch client with "add" option'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsBaseDn' : "dc=example,dc=com",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'operation' : "add",
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'ldif' : "True",
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'outputFile' : '%s/core/psearch/add/psearch-add_blank.out' % remote.temp
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add_blank: wait event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add_blank: delete event from psearch'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add_blank: modify entry uid=Blam Blo, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/add/modify.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add_blank: moodn entry uid=Bil Bo, ou=People, dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/add/moddn.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add_blank: delete entry uid=Blum Blue,ou=People,dc=example,dc=com'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'dsFilename' : '%s/core/psearch/add/delete.ldif' % remote.data
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </parallel>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'psearch_add: Check "delete,moddn,modify" operations have not been detected'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'location' : STAF_REMOTE_HOSTNAME ,
945930ece8ea73e5184836bf0bf3efad2e3e6c36gary.williams 'entry' : '%s/core/psearch/add/psearch-add_blank.out' % remote.temp,
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp 'attribute' : 'TYPE'
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </sequence>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp <catch exception="'STAXException.*'" typevar="eType" var="eInfo">
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp '%s: Test failed. eInfo(%s)' % (eType,eInfo)
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </testcase>
6031e9c7eb72435516a6828deb2e97533ed0382dludovicp </function>