view fail.xml @ 4:128bac260d80 draft

"planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fail commit 4fabd42e2bc94abac4ed2ab49336bd4fd8ac8c7b"
author mbernt
date Sun, 13 Dec 2020 16:01:28 +0000
parents e2a52e6a81f3
children 3a933f3dd388
line wrap: on
line source

<tool id="fail" name="fail" version="0.1.2">
    <requirements>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
	    echo "" > $out_file1 &&    
	    sh -c "exit $code"
    ]]></command>
    <inputs>
	    <param name="code" type="integer" value=""/>
    </inputs>
    <outputs>
	    <data format="tabular" name="out_file1" />
    </outputs>
    <tests>
        <test expect_failure="true" expect_exit_code="4">
		<param name="code" value="4"/>
        </test>
    </tests>
    <help><![CDATA[
        TODO: Fill in help.
    ]]></help>
</tool>