-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<tool id="tool_deleting_output" name="tool_deleting_output" version="0.1.0" license="AFL-3.0" profile="21.09"> | ||
<command><![CDATA[ | ||
rm '$out_file1' && | ||
exit $exit_code | ||
]]></command> | ||
<inputs> | ||
<param name="exit_code" type="integer" value="0"/> | ||
</inputs> | ||
<outputs> | ||
<data name="out_file1" format="txt" /> | ||
</outputs> | ||
<tests> | ||
<test> | ||
<param name="exit_code" value="0"/> | ||
<output name="out_file1"> | ||
<assert_contents> | ||
<has_size value="0"/> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
<test expect_exit_code="1" expect_failure="true"> | ||
<param name="exit_code" value="1"/> | ||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
This tool tests what happens if the underlying program removes the output data set. | ||
With outputs_to_working_directory this provoked https://github.com/galaxyproject/galaxy/issues/14206 | ||
]]></help> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters