mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
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.
This commit is contained in:
@@ -25,10 +25,8 @@ echo " exit 1; \\"
|
|||||||
echo " }"
|
echo " }"
|
||||||
echo
|
echo
|
||||||
echo "test check: $PARALLELS"
|
echo "test check: $PARALLELS"
|
||||||
port=${STARTPORT:-5000}
|
|
||||||
for directory in $PARALLELDIRS ; do
|
for directory in $PARALLELDIRS ; do
|
||||||
echo
|
echo
|
||||||
echo "test-$(echo "$directory" | tr _ -): check_interfaces"
|
echo "test-$(echo "$directory" | tr _ -): check_interfaces"
|
||||||
echo " @${SHELL} ./run.sh -r -p $port $directory 2>&1 | tee test.output.$directory"
|
echo " @${SHELL} ./run.sh -r $directory 2>&1 | tee test.output.$directory"
|
||||||
port=$((port+100))
|
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user