Skip to content

Commit c669a9e

Browse files
committed
Fix pyfile names in run_wlst_script
Signed-off-by: Dongbo Xiao <[email protected]>
1 parent 099f702 commit c669a9e

File tree

1 file changed

+4
-4
lines changed
  • src/integration-tests/bash

1 file changed

+4
-4
lines changed

src/integration-tests/bash/run.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,25 +1550,25 @@ EOF
15501550
local maxwaitsecs=180
15511551
local failedonce="false"
15521552
while : ; do
1553-
eval "$mycommand ""$@" > ${pyfile}.out 2>&1
1553+
eval "$mycommand ""$@" > ${pyfile_lcl}.out 2>&1
15541554
local result="$?"
15551555

15561556
# '+' marks verbose tracing
1557-
cat ${pyfile}.out | sed 's/^/+/'
1557+
cat ${pyfile_lcl}.out | sed 's/^/+/'
15581558

15591559
if [ "$result" = "0" ];
15601560
then
15611561
break
15621562
fi
15631563

15641564
if [ "$failedonce" = "false" ]; then
1565-
cp ${pyfile}.out ${pyfile}.out.firstfail
1565+
cp ${pyfile_lcl}.out ${pyfile_lcl}.out.firstfail
15661566
failedonce="true"
15671567
fi
15681568

15691569
local mnow=`date +%s`
15701570
if [ $((mnow - mstart)) -gt $((maxwaitsecs)) ]; then
1571-
cat ${pyfile}.out.firstfail
1571+
cat ${pyfile_lcl}.out.firstfail
15721572
fail "Could not successfully run WLST script ${pyfile_lcl} on pod ${AS_NAME} via ${t3url} within ${maxwaitsecs} seconds. Giving up."
15731573
fi
15741574

0 commit comments

Comments
 (0)