From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 11 Jan 2025 13:39:31 +0000 (+0100)
Subject: tests/cts/runtests-wrapper.sh: Stop explicitly setting HOSTIP
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/developer-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=29c9eaf77ec4d9403066c5d692860c5649ea99c8;p=privoxy.git

tests/cts/runtests-wrapper.sh: Stop explicitly setting HOSTIP

It doesn't work with curl master at the moment.
---

diff --git a/tests/cts/runtests-wrapper.sh b/tests/cts/runtests-wrapper.sh
index 851175f8..394d6ed3 100755
--- a/tests/cts/runtests-wrapper.sh
+++ b/tests/cts/runtests-wrapper.sh
@@ -57,10 +57,10 @@ runtests_wrapper() {
     curl_setup_is_sane "${curl_source_directory}" || exit 1
 
     # Defaults that can be changed through arguments
-    privoxy_ip=127.0.0.1
+    privoxy_ip=127.0.0.1 # changing this currently doesn't work
     privoxy_port=9119
     a_flag="-a"
-    proxy_args="-P http://${privoxy_ip}:${privoxy_port}/ -o HOSTIP=${privoxy_ip}"
+    proxy_args="-P http://${privoxy_ip}:${privoxy_port}/"
     exclude_file_args="-E ${privoxy_source_directory}/tests/cts/curl-test-manifest-for-privoxy"
     testdir_args="-o TESTDIR=${privoxy_source_directory}/tests/cts/data"
     keyword=HTTP
@@ -85,7 +85,7 @@ runtests_wrapper() {
                 shift
                 privoxy_ip="$1"
                 shift
-                proxy_args="-P http://${privoxy_ip}:${privoxy_port}/ -o HOSTIP=${privoxy_ip}"
+                proxy_args="-P http://${privoxy_ip}:${privoxy_port}/"
                 ;;
             "-T")
                 echo "Not setting TESTDIR"
@@ -102,7 +102,7 @@ runtests_wrapper() {
                 shift
                 privoxy_port="$1"
                 shift
-                proxy_args="-P http://${privoxy_ip}:${privoxy_port}/ -o HOSTIP=${privoxy_ip}"
+                proxy_args="-P http://${privoxy_ip}:${privoxy_port}/"
                 ;;
             "-P")
                 # "Obviously" -P means not setting -P