Files
galaxy/test/functional/tools/strict_shell_default_off.xml
T
John Chilton d020522650 Introduce strict shell command option.
Newer tool formats (CWL and YAML just enable this by default), but XML tools can add a strict="true" to the command block to force "set -e" handling on the shell part of tool execution.

Run the framework tests verifying the new and older default behavior using the following commands:

```
./run_tests.sh -framework -id strict_shell_default_off
./run_tests.sh -framework -id strict_shell
```
2016-02-22 09:58:43 +00:00

21 lines
580 B
XML

<tool id="strict_shell_default_off" name="strict_shell_default_off" version="1.0.0">
<command detect_errors="exit_code">
echo "Hello" > $out_file1
; sh -c "exit $exit_code"
; sh -c "exit 0"
</command>
<inputs>
<param name="exit_code" type="integer" value="0" label="exit code"/>
</inputs>
<outputs>
<data name="out_file1" />
</outputs>
<tests>
<test expect_exit_code="0" expect_failure="false">
<param name="exit_code" value="1" />
</test>
</tests>
<help>
</help>
</tool>