From 0e3deb6044978cef051d57d1b891f4292df2ca48 Mon Sep 17 00:00:00 2001 From: joergboe Date: Wed, 9 Oct 2019 17:51:01 +0200 Subject: [PATCH] Siplyfy function for test step execution --- bin/coreutil.sh | 61 +++++++++++++++++++------------------------------ 1 file changed, 23 insertions(+), 38 deletions(-) diff --git a/bin/coreutil.sh b/bin/coreutil.sh index ce5bb94..8c52da4 100644 --- a/bin/coreutil.sh +++ b/bin/coreutil.sh @@ -465,7 +465,8 @@ TTTF_executeSteps() { local -r failureIsError="$7" local -r supressVarName="$8" local -r counterName="$9" - + + local -a commandArray=(); local TTTI_name_xyza for TTTI_name_xyza in "$oldVarName" "$varName"; do if isExisting "$TTTI_name_xyza"; then @@ -476,59 +477,43 @@ TTTF_executeSteps() { for (( TTTI_i_xyza=0; TTTI_i_xyza