test case showing failing set_meta

broke in https://github.com/galaxyproject/galaxy/commit/7d0ec29fa06ae6f04c0ae6fc193a390bc11cddcd
This commit is contained in:
Matthias Bernt
2022-08-25 16:45:26 +02:00
parent 2d535ed95a
commit 59f77048ce
2 changed files with 29 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<tool id="metadata_bed" name="BED metadata test" version="1.0.0">
<command>
<![CDATA[
echo "chromCol $input1.metadata.chromCol" > $out_file1 &&
echo "startCol $input1.metadata.startCol" >> $out_file1 &&
echo "endCol $input1.metadata.endCol" >> $out_file1 &&
echo "strandCol $input1.metadata.strandCol" >> $out_file1
]]>
</command>
<inputs>
<param format="interval" name="input1" type="data" label="Choose intervals"/>
</inputs>
<outputs>
<data format="txt" name="out_file1"/>
</outputs>
<tests>
<test>
<param name="input1" value="1.bed" ftype="bed"/>
<output name="out_file1">
<assert_contents>
<has_text text="strandCol 6"/>
</assert_contents>
</output>
</test>
</tests>
<help>
</help>
</tool>
@@ -57,6 +57,7 @@
<tool file="metadata.xml" />
<tool file="metadata_bam.xml" />
<tool file="metadata_bcf.xml" />
<tool file="metadata_bed.xml" />
<tool file="metadata_biom1.xml" />
<tool file="metadata_column_names.xml" />
<tool file="strict_shell.xml" />