TT#71552 Fix JSON_KAM enable/disable

After JSON_KAM was enabled by default in commit 8618aa8 we lost
the possibility to disable it if necessary.
The option -J of bin/check.sh script now do the opposite: it is
used to disable JSON_KAM preference. Due to this change, the -J has
been removed from the script call in get_results.sh

Change-Id: I8ccc9d832ba808c72494dc27526e66ceff802a95
changes/87/36087/2
Marco Capetta 7 years ago
parent 37a504bfd7
commit a81171ae6a

@ -654,7 +654,7 @@ usage() {
echo -e "\t-r: fix retransmission issues"
echo -e "\t-d: DOMAIN"
echo -e "\t-p CE|PRO default is CE"
echo -e "\t-J kamailio json output ON. PARSE skipped"
echo -e "\t-J kamailio json output OFF"
echo -e "\t-K enable tcpdump capture"
echo -e "\t-s scenario group. Default: scenarios"
echo -e "\t-m enable memdbg csv"
@ -678,7 +678,7 @@ while getopts 'hCd:p:Rs:DTPGgrcJKm' opt; do
G) GRAPH=true;;
g) GRAPH_FAIL=true;;
r) FIX_RETRANS=true;;
J) JSON_KAM=true;;
J) JSON_KAM=false;;
m) MEMDBG=true;;
c) CDR=true;;
esac

@ -73,7 +73,7 @@ fi
get_scenarios
echo "${SCENARIOS}" | tr ' ' '\n' \
| parallel "${BIN_DIR}/check.sh ${GRAPH} -J -C -R ${OPTS} ${RETRANS} ${CDR} -d ${DOMAIN} -p ${PROFILE} -s ${GROUP}"
| parallel "${BIN_DIR}/check.sh ${GRAPH} -C -R ${OPTS} ${RETRANS} ${CDR} -d ${DOMAIN} -p ${PROFILE} -s ${GROUP}"
status=$?
echo "$(date) - All done[${status}]"
exit ${status}

Loading…
Cancel
Save