X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fcommon%2Ftestcase_common.sh;h=5eb6ab80a18922164be5bebc4af9b7de1063c522;hb=refs%2Fchanges%2F10%2F11110%2F1;hp=83889f1f6d88049788fa37e146b2228f4d09fec0;hpb=d54225bda3988891296f86807168fc204f88676e;p=nonrtric.git diff --git a/test/common/testcase_common.sh b/test/common/testcase_common.sh index 83889f1f..5eb6ab80 100755 --- a/test/common/testcase_common.sh +++ b/test/common/testcase_common.sh @@ -1175,6 +1175,16 @@ if [ $? -ne 0 ] || [ -z "$tmp" ]; then fi echo " python3 is installed and using version: $(python3 --version)" +tmp=$(type jq) +if [ $? -ne 0 ]; then + echo -e $RED"command utility jq (cmd-line json processor) is not installed"$ERED + exit 1 +fi +tmp=$(type envsubst) +if [ $? -ne 0 ]; then + echo -e $RED"command utility envsubst (env var substitution in files) is not installed"$ERED + exit 1 +fi tmp=$(which docker) if [ $? -ne 0 ] || [ -z "$tmp" ]; then echo -e $RED"docker is required to run the test environment, pls install"$ERED @@ -1261,7 +1271,6 @@ echo -e "Application\tApp short name\tImage\ttag\ttag-switch" > $image_list_file # Check if image env var is set and if so export the env var with image to use (used by docker compose files) # arg: __check_and_create_image_var() { - echo $@ if [ $# -ne 7 ]; then echo "Expected arg: " ((IMAGE_ERR++))