| | |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! Copyright 2008-2010 Sun Microsystems, Inc. |
| | | ! Portions Copyright 2011 ForgeRock AS |
| | | ! --> |
| | | <stax> |
| | | |
| | |
| | | </call> |
| | | |
| | | <call function="'runSTAFCommand'"> |
| | | { 'name' : 'Extract OpenDS ZIP file', |
| | | { 'name' : 'Extract OpenDJ ZIP file', |
| | | 'location' : STAF_REMOTE_HOSTNAME, |
| | | 'service' : 'ZIP', |
| | | 'request' : 'UNZIP', |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC, |
| | | 'expected' : 0, |
| | | 'result' : 'FAIL to unzip OpenDS ZIP file', |
| | | 'result' : 'FAIL to unzip OpenDJ ZIP file', |
| | | } |
| | | </call> |
| | | |
| | |
| | | import LDAP entries and manage rejected and |
| | | skipped entries |
| | | #@TestPreamble |
| | | #@TestStep Unzip OpenDS distribution |
| | | Setup OpenDS with a LDIF file to import, and |
| | | #@TestStep Unzip OpenDJ distribution |
| | | Setup OpenDJ with a LDIF file to import, and |
| | | files for rejected and skipped entries |
| | | Check skipped and rejected entries |
| | | Stop OpenDS |
| | | Uninstall OpenDS |
| | | Stop OpenDJ |
| | | Uninstall OpenDJ |
| | | #@TestPostamble |
| | | #@TestResult PASS if all steps ran without errors |
| | | --> |
| | |
| | | </call> |
| | | |
| | | <script> |
| | | if PRODUCTNAME.startswith('OpenDS'): |
| | | if PRODUCTNAME.startswith('OpenDJ'): |
| | | if is_windows_platform(STAF_REMOTE_HOSTNAME): |
| | | expectedNb = 2 |
| | | else: |