From: Michał Kępień Date: Thu, 8 Apr 2021 09:12:37 +0000 (+0200) Subject: Use the same port selection method on all systems X-Git-Tag: v9.17.12~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3718b926b67bb033f7cc0fdbf99f74a58242f89;p=thirdparty%2Fbind9.git Use the same port selection method on all systems When system tests are run on Windows, they are assigned port ranges that are 100 ports wide and start from port number 5000. This is a different port assignment method than the one used on Unix systems. Drop the "-p" command line option from bin/tests/system/run.sh invocations used for starting system tests on Windows to unify the port assignment method used across all operating systems. --- diff --git a/bin/tests/system/parallel.sh b/bin/tests/system/parallel.sh index 1bc5e2a6858..230f2877284 100644 --- a/bin/tests/system/parallel.sh +++ b/bin/tests/system/parallel.sh @@ -25,10 +25,8 @@ echo " exit 1; \\" echo " }" echo echo "test check: $PARALLELS" -port=${STARTPORT:-5000} for directory in $PARALLELDIRS ; do echo echo "test-$(echo "$directory" | tr _ -): check_interfaces" - echo " @${SHELL} ./run.sh -r -p $port $directory 2>&1 | tee test.output.$directory" - port=$((port+100)) + echo " @${SHELL} ./run.sh -r $directory 2>&1 | tee test.output.$directory" done