p:os-exec-002

Tests p:os-exec for non existing cwd.

Test ab-os-exec-002.xml is expected to fail with error code err:XC0034.

It requires the following features: os-exec.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:os-exec command="i-do-not-exist/i-am-not-executable" cwd="i-do-not-exist">
      <p:with-input>
         <p:empty/>
      </p:with-input>
   </p:os-exec>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

21 Sep 2022, Achim Berndzen

Added tests for p:os-exec