X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fdo_curl_function.sh;h=ac945fe023a78fae225bef4b1a8fa859eb0b24ca;hb=4bc05f1cdd233067c9f5d54da46594ee116d6c97;hp=c4365d8b85466182f809c1b0210876fb7b0af16a;hpb=72667f1d4b9e534b38b206f64f2ac67df01a2ed9;p=nonrtric.git diff --git a/test/common/do_curl_function.sh b/test/common/do_curl_function.sh index c4365d8b..ac945fe0 100755 --- a/test/common/do_curl_function.sh +++ b/test/common/do_curl_function.sh @@ -88,8 +88,8 @@ do_curl() { count=${RESULT:16:${#RESULT}} #Find dir of the common dir DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" - echo $body > .tmp.json - res=$(python ${DIR}/count_json_elements.py .tmp.json) + echo $body > ./tmp/.tmp.json + res=$(python ${DIR}/count_json_elements.py ./tmp/.tmp.json) if [ $res -eq $count ]; then echo " Body (array size) as expected" else