[Privoxy-commits] [privoxy] 09/19: run-privoxy-tests.sh: Allow to specify a non-default curl binary with -C
User Git
git at git.privoxy.org
Thu Jun 11 08:29:13 CEST 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit a82dca246743a4ed76167e4c22e392927ae2ff3e
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Jun 7 13:39:18 2026 +0200
run-privoxy-tests.sh: Allow to specify a non-default curl binary with -C
---
tests/cts/run-privoxy-tests.sh | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/cts/run-privoxy-tests.sh b/tests/cts/run-privoxy-tests.sh
index c3d16636..3781ee61 100755
--- a/tests/cts/run-privoxy-tests.sh
+++ b/tests/cts/run-privoxy-tests.sh
@@ -141,6 +141,11 @@ main() {
ignore_errors=true
shift
;;
+ "-C")
+ shift
+ non_standard_curl_args="-c ${1}"
+ shift
+ ;;
"-r")
echo "Not starting privoxy."
start_privoxy=false
@@ -175,9 +180,9 @@ main() {
for test_scenario in ${test_scenarios}; do
if [ "${test_scenario}" = "${UPSTREAM_TEST_SCENARIO}" ]; then
- run_upstream_tests ${start_privoxy} "$@"
+ run_upstream_tests ${start_privoxy} ${non_standard_curl_args} "$@"
else
- run_privoxy_tests ${start_privoxy} "${test_scenario}" "$@"
+ run_privoxy_tests ${start_privoxy} "${test_scenario}" ${non_standard_curl_args} "$@"
fi
if [ $? != 0 ]; then
scenarios_with_errors="${scenarios_with_errors} ${test_scenario}"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list