Mercurial > repos > mbernt > fail
changeset 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 |
files | fail.xml test-data/out |
diffstat | 2 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fail.xml Sun Dec 06 12:15:19 2020 +0000 @@ -0,0 +1,22 @@ +<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>