Files
galaxy/test/functional/tools/fail_identifier.xml
T

24 lines
683 B
XML

<tool id="fail_identifier" name="Fail input with identifier that contains fail" version="1.0.0">
<stdio>
<exit_code range="127" level="fatal" description="Failing exit code." />
</stdio>
<command><![CDATA[
#if $failbool and 'fail' in $input1.element_identifier
sh -c 'exit 127'
#else
cp '$input1' '$out_file1'
#end if
]]></command>
<inputs>
<param name="input1" type="data" label="An input file" />
<param name="failbool" type="boolean" label="The failure property" checked="false" />
</inputs>
<outputs>
<data name="out_file1" format="data"/>
</outputs>
<tests>
</tests>
<help>
</help>
</tool>