<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-p-run-060.xml"
        name="ab-p-run-060.xml"
        expected="fail"
        code="err:XS0032"
        features="p-run">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>p:run-060</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2022-10-01</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Added tests for p:run</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests p:run: Checks explit non-primary p:output does not become DRP.</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         <p:run>
            <p:with-input>
               <p:inline>
                  <p:declare-step version="3.0">
                     <p:output port="result"/>
                     <p:identity>
                        <p:with-input>
                           <result/>
                        </p:with-input>
                     </p:identity>
                  </p:declare-step>
               </p:inline>
            </p:with-input>
            <p:output port="result" primary="false"/>
         </p:run>
         <p:identity/>
      </p:declare-step>
   </t:pipeline>
</t:test>
