X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fhttp-https-proxy%2Fbasic_test.sh;h=7ff1968f269604668999bfa46926cb7cc1ada48d;hb=36625a26aec5a4954392b1310da9868dbf090138;hp=085e17f4584ec7d73b6740cceb3a105620065197;hpb=a54915769edaaf1c0989d4857d17e6f8ac19cb89;p=nonrtric.git diff --git a/test/http-https-proxy/basic_test.sh b/test/http-https-proxy/basic_test.sh index 085e17f4..7ff1968f 100755 --- a/test/http-https-proxy/basic_test.sh +++ b/test/http-https-proxy/basic_test.sh @@ -32,6 +32,7 @@ if [ $? -eq 0 ]; then echo "CMD OK" else echo "CMD FAIL" + exti 1 fi echo "" @@ -43,10 +44,11 @@ if [ $? -eq 0 ]; then echo "CMD OK" else echo "CMD FAIL" + exti 1 fi echo "" -CMD="curl --proxy-insecure localhost:8433 localhost:8081" +CMD="curl --proxy-insecure --proxy https://localhost:8433 localhost:8081" echo "Running cmd: "$CMD $CMD echo "" @@ -54,10 +56,11 @@ if [ $? -eq 0 ]; then echo "CMD OK" else echo "CMD FAIL" + exti 1 fi echo "" -CMD="curl --proxy-insecure localhost:8433 -k https://localhost:8434" +CMD="curl --proxy-insecure --proxy https://localhost:8433 -k https://localhost:8434" echo "Running cmd: "$CMD $CMD echo "" @@ -65,6 +68,7 @@ if [ $? -eq 0 ]; then echo "CMD OK" else echo "CMD FAIL" + exti 1 fi echo ""