[Privoxy-commits] [privoxy] 01/13: run-privoxy-tests.sh: Add -w option to change the number of seconds to wait for Privoxy to start

User Git git at git.privoxy.org
Sun Nov 22 16:33:28 CET 2026


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit a2089c736afb3dddcbdcd4a59381fac38999c33a
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Oct 4 09:47:01 2026 +0200

    run-privoxy-tests.sh: Add -w option to change the number of seconds to wait for Privoxy to start
---
 tests/cts/run-privoxy-tests.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/cts/run-privoxy-tests.sh b/tests/cts/run-privoxy-tests.sh
index 78133844..c4fb200f 100755
--- a/tests/cts/run-privoxy-tests.sh
+++ b/tests/cts/run-privoxy-tests.sh
@@ -161,6 +161,12 @@ main() {
                 USE_VALGRIND=true
                 shift
                 ;;
+            "-w")
+                shift
+                SECONDS_TO_WAIT_FOR_PRIVOXY_TO_START="${1}"
+                shift
+                echo "Waiting for ${SECONDS_TO_WAIT_FOR_PRIVOXY_TO_START} seconds for Privoxy to start."
+                ;;
             "--")
                 shift
                 echo "Passing remaining arguments to runtests-wrapper.sh: ${@}"
@@ -168,7 +174,7 @@ main() {
                 ;;
             *)
                 echo "Invalid argument: $1"
-                echo "Supported arguments: -c -r -t test-scenario -- Arguments for runtests-wrapper.sh"
+                echo "Supported arguments: -c -r -t test-scenario -w wait-time -- Arguments for runtests-wrapper.sh"
                 exit 1
                 ;;
         esac

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list