]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use the same port selection method on all systems
authorMichał Kępień <michal@isc.org>
Thu, 8 Apr 2021 09:12:37 +0000 (11:12 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 8 Apr 2021 09:12:37 +0000 (11:12 +0200)
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.

bin/tests/system/parallel.sh

index 1bc5e2a6858bb337b6bc6f61e6cdb4692372d616..230f2877284a373e1ffa984af39a91dd8b6f5c67 100644 (file)
@@ -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