Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
656 B
XML
Raw Permalink Normal View History

2021-01-05 02:28:49 +00:00
<tool id="exit_code_from_env" name="exit_code_from_env" version="1.0.0">
2018-11-23 10:59:44 +01:00
<!-- tool errors out with identified OOM error if less than 10MB are allocated. -->
<command detect_errors="exit_code" oom_exit_code="42"><![CDATA[
2021-01-05 02:28:49 +00:00
echo 'Hello' > '$out_file1' &&
2025-03-06 14:49:55 +01:00
: \${GX_TARGET_EXIT_CODE:-1} &&
exit \${GX_TARGET_EXIT_CODE:-1}
2018-11-23 10:59:44 +01:00
]]></command>
<inputs>
<param name="input" type="integer" label="Dummy" value="6" />
</inputs>
<outputs>
<data name="out_file1" />
</outputs>
<tests>
2025-03-26 18:07:57 +01:00
<test expect_failure="true">
2018-11-23 10:59:44 +01:00
<param name="input" value="5" />
</test>
</tests>
2021-01-05 02:28:49 +00:00
<help>
</help>
2018-11-23 10:59:44 +01:00
</tool>