0N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
0N/A ! The contents of this file are subject to the terms of the 0N/A ! Common Development and Distribution License, Version 1.0 only 0N/A ! (the "License"). You may not use this file except in compliance 0N/A ! You can obtain a copy of the license at 0N/A ! See the License for the specific language governing permissions 0N/A ! and limitations under the License. 0N/A ! When distributing Covered Code, exclude this CDDL HEADER in each 0N/A ! file and exclude the License file at 0N/A ! add the following below this CDDL HEADER, with the fields enclosed 0N/A ! by brackets "[]" replaced with your own identifying information: 0N/A ! Portions Copyright [yyyy] [name of copyright owner] 0N/A ! Copyright 2007-2008 Sun Microsystems, Inc. 0N/A <
defaultcall function="clu_status_checkbehavior"/>
0N/A <
function name="clu_status_checkbehavior">
0N/A <
block name="'clu_status_checkbehavior'">
0N/A <!--- Test Suite information 0N/A #@TestSuiteName status check behavior tests 0N/A #@TestSuitePurpose Test the results of the status command. 0N/A #@TestSuiteGroup status check behavior tests 0N/A CurrentTestPath['group'] = 'clu'
0N/A CurrentTestPath['suite'] = STAXCurrentBlock
0N/A <
call function="'testSuite_Preamble'"/>
0N/A <!--- Test Case information 0N/A #@TestMarker status check behavior tests 0N/A #@TestName status: authenticated mode 0N/A #@TestPurpose Test status in authenticated mode. 0N/A #@TestStep Do a status in authenticated mode. 0N/A #@TestPostamble none 0N/A #@TestResult Success if status returns 0. 0N/A <
testcase name="getTestCaseName('status: authenticated mode')">
0N/A <
call function="'testCase_Preamble'"/>
0N/A 'status: authenticated mode'
0N/A <
call function="'StatusWithScript'">
0N/A 'dsBindDN' : DIRECTORY_INSTANCE_DN ,
0N/A 'dsBindPwd' : DIRECTORY_INSTANCE_PSWD
0N/A <!-- STAXResult is not always a list--> 0N/A RC,Result=STAXResult[0]
0N/A except AttributeError,details:
0N/A Result='AttributeError: can not parse STAXResult %s' % details
0N/A <
call function="'checktestRC'">
0N/A <
call function="'checktestString'">
0N/A 'returnString' : Result ,
0N/A 'expectedString' : 'Administrative Users: %s' \
0N/A % DIRECTORY_INSTANCE_DN
0N/A <
call function="'checktestString'">
0N/A 'returnString' : Result ,
0N/A 'expectedString' : 'Server Run Status: Started'
0N/A <
call function="'testCase_Postamble'"/>
0N/A <
call function="'testSuite_Postamble'"/>