2016-09-22 15:10:46 -04:00
|
|
|
<tool id="version_command_plain" name="version_command_plain" version="1.0.0">
|
2021-01-05 02:28:49 +00:00
|
|
|
<version_command><![CDATA[
|
2022-01-10 18:26:04 +01:00
|
|
|
VERSION="4.0.0"; echo "$VERSION"
|
2021-01-05 02:28:49 +00:00
|
|
|
]]></version_command>
|
|
|
|
|
<command><![CDATA[
|
|
|
|
|
cp '$input' '$output'
|
|
|
|
|
]]></command>
|
2016-09-22 15:10:46 -04:00
|
|
|
<inputs>
|
|
|
|
|
<param name="input" type="data" format="txt" />
|
|
|
|
|
</inputs>
|
|
|
|
|
<outputs>
|
|
|
|
|
<data name="output" format="txt" />
|
|
|
|
|
</outputs>
|
|
|
|
|
<tests>
|
|
|
|
|
<test>
|
|
|
|
|
<param name="input" value="simple_line.txt" />
|
|
|
|
|
<output name="out_file1" checksum="sha1$8156d7ca0f46ed7abac98f82e36cfaddb2aca041" />
|
2022-02-07 15:25:28 +01:00
|
|
|
<assert_command>
|
|
|
|
|
<not_has_text text="VERSION"/>
|
|
|
|
|
</assert_command>
|
2022-10-11 14:02:21 -04:00
|
|
|
<assert_command_version>
|
|
|
|
|
<has_text text="4.0.0" />
|
|
|
|
|
</assert_command_version>
|
2016-09-22 15:10:46 -04:00
|
|
|
</test>
|
|
|
|
|
</tests>
|
|
|
|
|
</tool>
|