Skip to content

Commit

Permalink
Merge pull request #800 from xml-project/fix-ab-os-exec-024-
Browse files Browse the repository at this point in the history
Changed test from avt to p:with-option
  • Loading branch information
xml-project authored Jan 3, 2025
2 parents ceed65c + c664098 commit f01029f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test-suite/tests/ab-os-exec-024.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
<t:info>
<t:title>p:os-exec-024</t:title>
<t:revision-history>
<t:revision>
<t:date>2025-01-03</t:date>
<t:author>
<t:name>Achim Berndzen</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Changed from option shortcut to p:with-option to represent sequence.</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2022-09-23</t:date>
<t:author>
Expand All @@ -21,10 +30,11 @@
<p:declare-step version="3.0" xmlns:p="http://www.w3.org/ns/xproc">
<p:output port="result" />

<p:os-exec command="/bin/echo" args="one two three">
<p:os-exec command="/bin/echo">
<p:with-input>
<p:empty />
</p:with-input>
<p:with-option name="args" select="('one', 'two', 'three')" />
</p:os-exec>
<p:wrap-sequence wrapper="result" />

Expand Down

0 comments on commit f01029f

Please sign in to comment.