Skip to content

Commit

Permalink
revert non-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Feb 16, 2024
1 parent 1c4e511 commit 1a46f26
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/plugins1/_batch_test/test/test.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ for NODE in $(seq 1 1 "$PSIJ_TEST_BATCH_EXEC_COUNT"); do
done

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

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

echo "$?" > "{{psij.script_dir}}/$PSIJ_BATCH_TEST_JOB_ID.ec"

0 comments on commit 1a46f26

Please sign in to comment.