summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Closset <cc697w@intl.att.com>2018-04-09 16:01:32 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-09 16:01:32 +0000
commitb0eb31c5a030c2419a90d4fb82cdef5ecbacc94c (patch)
tree2b0311b2cc67fa23916d47f1f78b309bc2c09b64 /src
parent2a4e0569bc3250b0c8f8cc97a69ea6baed9dc68d (diff)
parent885d7c164e99e069c9a6c2827e479e1d8fee616e (diff)
Merge "Fix python script"
Diffstat (limited to 'src')
-rwxr-xr-xsrc/test/resources/http-cache/start_http_cache.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/resources/http-cache/start_http_cache.sh b/src/test/resources/http-cache/start_http_cache.sh
index 0f32c93a6..fb4975e54 100755
--- a/src/test/resources/http-cache/start_http_cache.sh
+++ b/src/test/resources/http-cache/start_http_cache.sh
@@ -22,17 +22,18 @@
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
###
+echo "Starting HTTP CACHE python script"
for i in "$@"
do
case $i in
- --python_proxyaddress=*)
+ --python_proxyaddress=*)
python_proxyaddress="--proxyaddress ${i#*=}"
echo "- Using python_proxyaddress and set it to: $python_proxyaddress"
shift # past argument=value
;;
- --http_proxyaddress=*)
+ --http_proxyaddress=*)
export http_proxy="${i#*=}"
- export https_proxy=$http_proxy
+ export https_proxy="${i#*=}"
echo "- Defining http_proxy/https_proxy env variables to: $http_proxy"
shift # past argument=value
;;