Ignore:
Timestamp:
Oct 28, 2019 10:30:10 AM (7 weeks ago)
Author:
aramle
Message:

#5819 Adding a retrying fallback in case reading of args fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-5819/jm_tests.in

    r13865 r13867  
    503503      echo "" ${a}|sed 's!\(.\)!\1 !g'
    504504      for b in $(echo "" ${a}|sed 's!\(.\)!\1 !g'); do
     505        HAVE_READ_ARGS=1
    505506        echo b=${b}
    506507        case ${b} in
     
    616617        esac
    617618      done
     619    else
     620      HAVE_READ_ARGS=1
    618621    fi
    619622  done
     
    634637echo "TIME = ${TIME}"
    635638echo "before read_args"
     639HAVE_READ_ARGS=0
    636640echo "PATH=${PATH}"
    637641echo "args $@"
    638642read_args "$@"
     643if [[ $HAVE_READ_ARGS == 0 ]]; then
     644echo "Reading args to jm_tests failed, retrying..."
     645read_args "$@"
     646fi
    639647echo "after read_args"
    640648echo "Writing to LOGFILE=${LOGFILE}"
Note: See TracChangeset for help on using the changeset viewer.