aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-04-09 17:56:53 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-04-09 17:56:53 +0200
commit885d7c164e99e069c9a6c2827e479e1d8fee616e (patch)
tree2658c7cad58f29c21a51f09f8c1bcf50a0b6d584 /src/test
parenta75076ba93f7967059cdf6dee3325f933708e6ec (diff)
Fix python script
Fix startup of the python script in the pom that was not properly set Issue-ID: CLAMP-147 Change-Id: Ia462be79dd053a9b39761e5bdf3248d0e28e65ee Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/test')
-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
;;