1058N/A<?
xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
1058N/A ! The contents of this file are subject to the terms of the 1058N/A ! Common Development and Distribution License, Version 1.0 only 1058N/A ! (the "License"). You may not use this file except in compliance 1058N/A ! See the License for the specific language governing permissions 1058N/A ! and limitations under the License. 1058N/A ! When distributing Covered Code, include this CDDL HEADER in each 1058N/A ! If applicable, add the following below this CDDL HEADER, with the 1058N/A ! fields enclosed by brackets "[]" replaced with your own identifying 1058N/A ! Portions Copyright [yyyy] [name of copyright owner] 1058N/A ! Copyright 2007-2009 Sun Microsystems, Inc. 1058N/A <
defaultcall function="main_8bit_createbackend"/>
1058N/A <
function name="main_8bit_createbackend">
<
block name="'8bit_createbackend'">
CurrentTestPath['group']='i18n'
CurrentTestPath['suite']=STAXCurrentBlock
#@TestSuiteName 8bit_createbackend #@TestSuitePurpose Test the usage of dsconfig create-backend with 8-bit characters params. <
call function="'testSuite_Preamble'"/>
<!--- Test Case information #@TestMarker 8bit_createbackend #@TestName setup: create and initialize backend with #@TestPurpose check that 8-bit data can be used for backend creation and initialization #@TestStep create backends with dsconfig, using base-dn are "o=��ndide R�iz" "o=��lin� �ndr�" "o=R�s��e T�rq�inio" "o=Fe�tl�ss Wat�rm�n" and "o=�lka M�rzella" #@TestResult Success if returns 0. <
testcase name="getTestCaseName ('Create and initialize Directory backend for 8-bit i18n tests')">
<
call function="'testCase_Preamble'"/>
'Create Directory Backend for 8-bit i18n tests'
'Candide' : ('o=��ndide R�iz', 'Candide'),
'Celine' : ('o=��lin� �ndr�', 'Celine'),
'Rosene' : ('o=R�s��e T�rq�inio', 'Rosene'),
'Featless' : ('o=Fe�tl�ss Wat�rm�n', 'Featless'),
'Alka' : ('o=�lka M�rzella', 'Alka')
'Import 8-bit test data [%s | %s | %s/%
s/
db/%s | %s/%
s/
import-tmp]' %\
DIRECTORY_INSTANCE_DIR, OPENDSNAME,\
DIRECTORY_INSTANCE_DIR, OPENDSNAME)
createBackendOptions=' '.join(options)
<
call function="'dsconfig'">
{ 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
'subcommand' : 'create-backend',
'optionsString' : createBackendOptions
<
call function="'checktestRC'">
<
call function="'testCase_Postamble'"/>
<
call function="'testSuite_Postamble'"/>