! file and exclude the License file at ! 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] ! Copyright 2006-2008 Sun Microsystems, Inc. <
defaultcall function="main_export"/>
<
function name="main_export">
CurrentTestPath['group']='backends'
CurrentTestPath['suite']=STAXCurrentBlock
<
call function="'testSuite_Preamble'"/>
<!--- Test Suite information #@TestSuiteName Backend: Export: Export Tests #@TestSuitePurpose Verify that the export functionality is working in the Directory Server. #@TestSuiteID Backend Export Tests <
import machine="STAF_LOCAL_HOSTNAME" <
call function="'backend_setup'">
<!-- Create a second instance to import data that was exported from the first instance --> 'Creating another instance for verifing the exports'
DsInstancePort = int(DIRECTORY_INSTANCE_PORT)+1
DsInstanceAdminPort = int(DIRECTORY_INSTANCE_ADMIN_PORT)+1
DsInstanceDir = '%
s/
server2' % DIRECTORY_INSTANCE_DIR
<
call function="'createInstance'">
{ 'dsHost' : '%s' % DIRECTORY_INSTANCE_HOST,
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
'dsBindDN' : '%s' % DIRECTORY_INSTANCE_DN,
'dsBindPwd' : '%s' % DIRECTORY_INSTANCE_PSWD,
'dsBaseDN' : '%s' % DIRECTORY_INSTANCE_SFX
<!-- Set the server backup the way it was before the backend tests --> <
import machine="STAF_LOCAL_HOSTNAME" <
call function="'main_quickstart'" />
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: LDIF Default #@TestPurpose Verify an export of a LDIF file on the default backend. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export default backend')">
<
call function="'testCase_Preamble'" />
'Backend: Export: Export default backend'
<
call function="'exportLdif'">
'backEnd' : '%s' % DIRECTORY_INSTANCE_BE
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: LDIF Non Default #@TestID LDIF Non Default #@TestPurpose Verify an export of a LDIF file on a differrent backend to the default. #@TestSteps Client calls exportLDIF with the parameters non-default backend, and ldifFile #@TestResult Success if Success if exportLDIF, importLDIF returns 0 <
testcase name="getTestCaseName('Export non-default backend')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export non-default backend'
<
call function="'exportLdif'">
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%
s/
server2/%s' % (DIRECTORY_INSTANCE_DIR, OPENDSNAME),
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Include Branch #@TestID Fractional Include Branch #@TestPurpose Verify an export of a LDIF file specifying a branch that should be included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and -b option. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Include Branch')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Include Branch'
<
call function="'exportLdif'">
'extraParams' : '-b "dc=com"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Include Branches #@TestID Fractional Include Branches #@TestPurpose Verify an export of a LDIF file specifying multiple branches that should be included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and two -b options. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Include Branches')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Include Branches'
<
call function="'exportLdif'">
'extraParams' : '-b "dc=com" -b "dc=example,dc=com"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Exclude Branch #@TestID Fractional Exclude Branch #@TestPurpose Verify an export of a LDIF file specifying a branch that should be excluded in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and -B option. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Exclude Branch')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Exclude Branch'
<
call function="'exportLdif'">
'extraParams' : '-B "dc=example,dc=com"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'missingEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com'],
'expectedEntries' : ['dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Exclude Branches #@TestID Fractional Exclude Branches #@TestPurpose Verify an export of a LDIF file specifying multiple branches that should be excluded in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and two -B options. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Exclude Branches')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Exclude Branches'
<
call function="'exportLdif'">
'extraParams' : '-B "ou=People,dc=example,dc=com" -B "dc=example,dc=com"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'missingEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com'],
'expectedEntries' : ['dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Branches Mix #@TestID Fractional Branches Mix #@TestPurpose Verify an export of a LDIF file specifying a mix of include and exclude branches. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, both -b and -B options. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Branches Mix')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Branches Mix'
<
call function="'exportLdif'">
'extraParams' : '-b "dc=com" -B "ou=People,dc=example,dc=com"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort}
<
call function="'checkImport'">
{ 'missingEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com'],
'expectedEntries' : ['dc=com','dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Include Attribute #@TestID Fractional Include Attribute #@TestPurpose Verify an export of a LDIF file specifying an attribute that should be included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and -i option. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Include Attribute')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Include Attribute'
<
call function="'exportLdif'">
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['dc=com','dc=example,dc=com'],
'missingEntries' : ['ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Include Attributes #@TestID Fractional Include Attributes #@TestPurpose Verify an export of a LDIF file specifying multiple attributes that should be included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and five -i options. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Include Attributes')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Include Attributes'
<
call function="'exportLdif'">
'extraParams' : '-i dc -i cn -i ou -i sn -i uid'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'missingAttributes' : ['userpassword'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Exclude Attribute #@TestID Fractional Exclude Attribute #@TestPurpose Verify an export of a LDIF file specifying an attribute that should be excluded in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and -e option. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Exclude Attribute')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Exclude Attribute'
<
call function="'exportLdif'">
'extraParams' : '-e userpassword'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com'],
'missingAttributes' : ['userpassword'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Exclude Attributes #@TestID Fractional Exclude Attributes #@TestPurpose Verify an export of a LDIF file specifying multiple attribute that should be excluded in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and three -e options. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Exclude Attributes')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Exclude Attributes'
<
call function="'exportLdif'">
'extraParams' : '-e userpassword -e mail -e roomnumber'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'missingAttributes' : ['userpassword','mail','roomnumber'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Mix #@TestPurpose Verify an export of a LDIF file specifying a mix of fractional attributes and branches. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and mixed -i, -b, and -B options. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Mix')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Mix'
<
call function="'exportLdif'">
'extraParams' : '-i dc -i cn -i ou -i sn -i uid -b "dc=com" -b "dc=example,dc=com" -b "ou=People,dc=example,dc=com" -B "ou=Departed,ou=People,dc=example,dc=com"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'missingAttributes' : ['userpassword'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Filtered Include #@TestID Filtered Include #@TestPurpose Verify an export of a LDIF file specifying a search filter control which entries are included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and -I option. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Filtered Include')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Filtered Include'
<
call function="'exportLdif'">
'extraParams' : '-I "objectclass=*"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Filtered Includes #@TestID Filtered Includes #@TestPurpose Verify an export of a LDIF file specifying a search filter control which entries are included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and two -I options. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Filtered Includes')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Filtered Includes'
<
call function="'exportLdif'">
'extraParams' : '-I "objectclass=domain" -I "objectclass=organizationalunit"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['dc=example,dc=com', 'dc=com'],
'missingEntries' : ['uid=scarter,ou=People,dc=example,dc=com',
'uid=dmiller,ou=People,dc=example,dc=com',
'uid=rhunt,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Filtered Exclude #@TestID Filtered Exclude #@TestPurpose Verify an export of a LDIF file specifying search filter control which entries are excluded in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, an ldifFile, and -E option. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Filtered Exclude')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Filtered Exclude'
<
call function="'exportLdif'">
'extraParams' : '-E "objectclass=person"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['dc=example,dc=com',
'ou=People,dc=example,dc=com'],
'missingEntries' : ['uid=scarter,ou=People,dc=example,dc=com',
'uid=dmiller,ou=People,dc=example,dc=com',
'uid=rhunt,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Filtered Excludes #@TestID Filtered Excludes #@TestPurpose Verify an export of a LDIF file specifying multiple search filters control which entries are excluded in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Filtered Excludes')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Filtered Excludes'
<
call function="'exportLdif'">
'extraParams' : '-E "objectclass=person" -E "objectclass=organizationalunit"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['dc=example,dc=com',
'missingEntries' : ['uid=scarter,ou=People,dc=example,dc=com',
'uid=dmiller,ou=People,dc=example,dc=com',
'uid=rhunt,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Filtered Includes #@TestID Filtered Includes #@TestPurpose Verify an export of a LDIF file specifying multiple search filters control which entries are included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Filtered Includes')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Filtered Includes'
<
call function="'exportLdif'">
'extraParams' : '-I "objectclass=domain" -I "objectclass=organizationalunit"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort}
<
call function="'checkImport'">
{ 'expectedEntries' : ['dc=example,dc=com',
'ou=People,dc=example,dc=com'],
'missingEntries' : ['uid=scarter,ou=People,dc=example,dc=com',
'uid=dmiller,ou=People,dc=example,dc=com',
'uid=rhunt,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Filtered Includes Complex #@TestID Filtered Includes Complex #@TestPurpose Verify an export of a LDIF file specifying complex search filters control which entries are included in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Filtered Includes Complex')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Filtered Includes Complex'
<
call function="'exportLdif'">
'extraParams' : '-I "|(objectclass=person)(objectclass=domain)(objectclass=organizationalunit)"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Filtered Excludes Complex #@TestID Filtered Excludes Complex #@TestPurpose Verify an export of a LDIF file specifying complex search filters control which entries are excluded in the export. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Filtered Excludes Complex')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Filtered Excludes Complex'
<
call function="'exportLdif'">
'extraParams' : '-E "&(objectclass=person)(ou=Departed)"'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Fractional Filtered Mix #@TestID Fractional Filtered Mix #@TestPurpose Verify an export of a LDIF file specifying a mix of fractional and filtered. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Fractional Filtered Mix')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Fractional Filtered Mix'
<
call function="'exportLdif'">
'extraParams' : '-E "&(objectclass=person)(ou=Departed)" -b "dc=com" -e userpassword'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Append To LDIF #@TestPurpose Verify an export of a LDIF file specifying that the export process should append to the existing LDIF file. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Append To LDIF')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Append To LDIF'
<
call function="'exportLdif'">
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Compress LDIF #@TestPurpose Verify an export where the LDIF file is compressed. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Compress LDIF')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Compress LDIF'
<
call function="'exportLdif'">
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)}
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Encrypt LDIF #@TestPurpose Verify an export where the LDIF file is encrypted. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Encrypt LDIF')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Encrypt LDIF'
<
call function="'exportLdif'">
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Export: Hash Signed LDIF #@TestID Hash Signed LDIF #@TestPurpose Verify an export where the LDIF file is hashed/signed. <!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Wrap Column #@TestPurpose Verify an export of a LDIF file containing wrapped columns #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <
testcase name="getTestCaseName('Export Wrap Column')">
<
call function="'testCase_Preamble'"/>
'Backend: Export: Export Wrap Column'
<
call function="'exportLdif'">
'extraParams' : '--wrapColumn 25'
<
call function="'checktestRC'">
<
call function="'importLdif'">
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<
call function="'checktestRC'">
<
call function="'StartDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME)
<!-- Wait for DS to start --> <
call function="'isAlive'">
{ 'location' : mylocation,
'noOfMilliSeconds' : 2000,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsInstancePort' : DsInstancePort
<
call function="'checkImport'">
{ 'expectedEntries' : ['uid=tmorris,ou=People,dc=example,dc=com',
'uid=kvaughan,ou=People,dc=example,dc=com',
'uid=kwinters,ou=People,dc=example,dc=com'],
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsPort' : DsInstancePort,
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'StopDsWithScript'">
{ 'location' : mylocation,
'dsPath' : '%s/%s' % (DsInstanceDir, OPENDSNAME),
'dsAdminPort' : DsInstanceAdminPort,
<
call function="'testCase_Postamble'"/>
<!--- Test Case information #@TestMarker Backend Export Tests #@TestName Backend: Export: Error Codes #@TestPurpose Verify an export fails with an error code. #@TestSteps Client calls exportLDIF with the parameters default backend, and ldifFile. Import the ldifFile to a second instance, then do a search to verify the import. #@TestResult Success if exportLDIF, importLDIF, and checkImport returns 0 <!-- Need to know what the error codes are --> <
import machine="STAF_LOCAL_HOSTNAME" <
call function="'backend_cleanup'"> { 'stopDS' : False } </
call>
<
call function="'testSuite_Postamble'"/>