2788N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2788N/A<!DOCTYPE stax SYSTEM "/stax.dtd">
2788N/A<!--
2788N/A ! CDDL HEADER START
2788N/A !
2788N/A ! The contents of this file are subject to the terms of the
2788N/A ! Common Development and Distribution License, Version 1.0 only
2788N/A ! (the "License"). You may not use this file except in compliance
2788N/A ! with the License.
2788N/A !
6982N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6982N/A ! or http://forgerock.org/license/CDDLv1.0.html.
2788N/A ! See the License for the specific language governing permissions
2788N/A ! and limitations under the License.
2788N/A !
2788N/A ! When distributing Covered Code, include this CDDL HEADER in each
6982N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
6982N/A ! If applicable, add the following below this CDDL HEADER, with the
6982N/A ! fields enclosed by brackets "[]" replaced with your own identifying
6982N/A ! information:
2788N/A ! Portions Copyright [yyyy] [name of copyright owner]
2788N/A !
2788N/A ! CDDL HEADER END
2788N/A !
3215N/A ! Copyright 2008 Sun Microsystems, Inc.
2788N/A ! -->
2788N/A<stax>
2788N/A
2788N/A <function name="queryTestcase">
2788N/A
2788N/A <function-prolog>Queries the current testcase</function-prolog>
2788N/A
2788N/A <function-map-args>
2788N/A <function-arg-def name="location" type="optional" default="STAXServiceMachine">
2788N/A <function-arg-description>
2788N/A Location of target host
2788N/A </function-arg-description>
2788N/A <function-arg-property name="type" value="hostname" />
2788N/A </function-arg-def>
2788N/A </function-map-args>
2788N/A
2788N/A <sequence>
2788N/A
2788N/A <script>
2788N/A STAXRequest='QUERY JOB %s TESTCASE "%s"' % (STAXJobID,STAXCurrentTestcase)
2788N/A </script>
2788N/A
2788N/A <stafcmd name="'STAX Command: Test Case Query for %s' % STAXCurrentTestcase">
2788N/A <location>'%s' % location</location>
2788N/A <service>'stax'</service>
2788N/A <request>'%s' % STAXRequest</request>
2788N/A </stafcmd>
2788N/A
2788N/A <return>RC</return>
2788N/A
2788N/A </sequence>
2788N/A
2788N/A </function>
2788N/A
2788N/A</stax>