view fail.xml @ 0:a09300159197 draft

"planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fail commit 4fabd42e2bc94abac4ed2ab49336bd4fd8ac8c7b"
author mbernt
date Sun, 06 Dec 2020 12:15:19 +0000
parents
children cfec0531709e
line wrap: on
line source

<tool id="fail" name="fail" version="0.1.0">
    <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>