From b8ba251ffc6aacd293b3fb3f549fad49097a8ce7 Mon Sep 17 00:00:00 2001 From: "samuel.trahan" Date: Thu, 27 Jun 2024 20:02:33 +0000 Subject: [PATCH] run_compile.sh: do not duplicate redirect_out_err --- tests/run_compile.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/run_compile.sh b/tests/run_compile.sh index e5f73d2341..1685f89653 100755 --- a/tests/run_compile.sh +++ b/tests/run_compile.sh @@ -82,10 +82,7 @@ if [[ ${ROCOTO} = 'false' ]]; then submit_and_wait job_card else chmod u+x job_card - ( ./job_card 2>&1 1>&3 3>&- | tee err ) 3>&1 1>&2 | tee out - # The above shell redirection copies stdout to "out" and stderr to "err" - # while still sending them to stdout and stderr. It does this without - # relying on bash-specific extensions or non-standard OS features. + redirect_out_err ./job_card fi #ls -l "${PATHTR}/tests/fv3_${COMPILE_ID}.exe"