Skip to content

Commit 1a46f26

Browse files
committed
revert non-fix
1 parent 1c4e511 commit 1a46f26

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/plugins1/_batch_test/test/test.mustache

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ for NODE in $(seq 1 1 "$PSIJ_TEST_BATCH_EXEC_COUNT"); do
4141
done
4242

4343
export PSIJ_NODEFILE
44-
{{#job.spec.inherit_environment}}{{/job.spec.inherit_environment}}{{^job.spec.inherit_environment}}env --ignore-environment \{{/job.spec.inherit_environment}}{{#env}}
45-
export {{name}}="{{value}}" {{/env}}
4644

47-
echo "$?" > "{{psij.script_dir}}/$PSIJ_BATCH_TEST_JOB_ID.ec"
45+
{{#job.spec.inherit_environment}}env \{{/job.spec.inherit_environment}}{{^job.spec.inherit_environment}}env --ignore-environment \{{/job.spec.inherit_environment}}{{#env}}
46+
{{name}}="{{value}}" \
47+
{{/env}}{{#psij.launch_command}}{{.}} {{/psij.launch_command}}
48+
49+
echo "$?" > "{{psij.script_dir}}/$PSIJ_BATCH_TEST_JOB_ID.ec"

0 commit comments

Comments
 (0)