Skip to content

Commit 0ebcffe

Browse files
committed
Fixed batch test executor to not append output, since it may clash
with older outputs.
1 parent 2433a1f commit 0ebcffe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/plugins1/_batch_test/test/test.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
exec &>> "{{psij.script_dir}}/$PSIJ_BATCH_TEST_JOB_ID.out"
3+
exec &> "{{psij.script_dir}}/$PSIJ_BATCH_TEST_JOB_ID.out"
44

55
{{#job.spec.directory}}
66
cd "{{.}}"
@@ -30,6 +30,7 @@ for NODE in $(seq 1 1 "$PSIJ_TEST_BATCH_EXEC_COUNT"); do
3030
done
3131

3232
export PSIJ_NODEFILE
33+
3334
{{#job.spec.inherit_environment}}env \{{/job.spec.inherit_environment}}{{^job.spec.inherit_environment}}env --ignore-environment \{{/job.spec.inherit_environment}}{{#env}}
3435
{{name}}="{{value}}" \
3536
{{/env}}{{#psij.launch_command}}{{.}} {{/psij.launch_command}}

0 commit comments

Comments
 (0)