diff --git a/test/functional/tools/sam_to_bam_native.xml b/test/functional/tools/sam_to_bam_native.xml
index b960bb4c87a..aed8f24892c 100644
--- a/test/functional/tools/sam_to_bam_native.xml
+++ b/test/functional/tools/sam_to_bam_native.xml
@@ -8,30 +8,39 @@
-b
-h
-@ \${GALAXY_SLOTS:-2}
- -o '${output}'
+ -o '$bam_native_output'
'$input1'
- #else
- cp '$input2' '$output'
+ #elif $input2:
+ cp '$input2' '$bam_native_output'
+ #elif $input3:
+ cp '$input3' '$bam_output'
#end if
]]>
+
-
+
+
-
+
-
+
+
+
+
+
+