From a81171ae6a1d446c1d4e2777c15ecd6393ef15d0 Mon Sep 17 00:00:00 2001 From: Marco Capetta Date: Thu, 12 Dec 2019 09:24:30 +0100 Subject: [PATCH] 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 --- bin/check.sh | 4 ++-- get_results.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/check.sh b/bin/check.sh index aa239238..ec46185e 100755 --- a/bin/check.sh +++ b/bin/check.sh @@ -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 diff --git a/get_results.sh b/get_results.sh index fb8c9e95..73e23a89 100755 --- a/get_results.sh +++ b/get_results.sh @@ -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}