Files
galaxy/test/functional/tools/job_environment_default.xml
T

37 lines
1.2 KiB
XML

<tool id="job_environment_default" name="job_environment_default" version="0.1.0" profile="18.01">
<requirements>
<container type="docker">busybox:1.36.1-glibc</container>
</requirements>
<command detect_errors="exit_code"><![CDATA[
mktemp -d &&
echo 'Writing environment properties to output files.' &&
(>&2 echo 'Example tool stderr output.') &&
echo \$(id -u) > '$user_id' &&
echo \$(id -g) > '$group_id' &&
echo \$(pwd) > '$pwd' &&
echo "\$HOME" > '$home' &&
echo "\$TMP" > '$tmp' &&
echo "\$SOME_ENV_VAR" > '$some_env_var' &&
touch "\$_GALAXY_JOB_TMP_DIR/tmp_test" &&
touch "\$HOME/home_test" &&
touch "\${TMP:-/tmp}/job_tmp" &&
touch "\${TEMP:-/tmp}/job_temp" &&
touch "\${TMPDIR:-/tmp}/job_tmpdir"
]]></command>
<inputs>
</inputs>
<outputs>
<data name="user_id" format="txt" label="user_id" />
<data name="group_id" format="txt" label="group_id" />
<data name="pwd" format="txt" label="pwd" />
<data name="home" format="txt" label="home" />
<data name="tmp" format="txt" label="tmp" />
<data name="some_env_var" format="txt" label="env_var" />
</outputs>
<tests>
</tests>
<help>
</help>
</tool>