Hi, does anybody know a simple way to enforce certain shell options such as
set -o errexit (a.k.a. set -e) set -o pipefail and maybe also set -o nounset (a.k.a. set -u) for the job environment at job submission time (without modifying the batch scripts themselves)? Background of this question is that we are about to implement some sort of test suite for sample batch scripts and want to verify their successful execution by checking the exit code of the jobs (which does not necessarily indicate successful execution of the whole job but only of the last command in the batch script, if errexit and pipefail options are not set). Best regards Jürgen