tests: avoid ephemeral port range

On our MacOS X CI job, provjobd2 sometimes held local TCP port 49195,
colliding with check-iprop.  And so we move all listening ports in the
test setup out of the ephemeral port ranges on Linux and Mac.
This commit is contained in:
Roland C. Dowdeswell
2026-06-13 00:37:44 +01:00
committed by Nico Williams
parent 9cf1b20313
commit d67a2c36c4
6 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ check_SCRIPTS = $(SCRIPT_TESTS) test_can
SCRIPT_TESTS = check-can
TESTS = $(SCRIPT_TESTS)
port = 49188
port = 11088
do_subst = sed -e 's,[@]srcdir[@],$(abs_srcdir),g' \
-e 's,[@]port[@],$(port),g' \
+1 -1
View File
@@ -12,7 +12,7 @@ TESTS = $(SCRIPT_TESTS)
check_SCRIPTS = $(SCRIPT_TESTS)
port = 49188
port = 11088
do_subst = sed \
-e 's,[@]srcdir[@],$(abs_srcdir),g' \
+1 -1
View File
@@ -10,7 +10,7 @@ SCRIPT_TESTS = check-kinit
TESTS = $(SCRIPT_TESTS)
port = 49188
port = 11088
do_subst = sed -e 's,[@]srcdir[@],$(abs_srcdir),g' \
-e 's,[@]env_setup[@],$(abs_top_builddir)/tests/bin/setup-env,g' \
+8 -8
View File
@@ -49,14 +49,14 @@ SCRIPT_TESTS = \
TESTS = $(SCRIPT_TESTS)
port = 49188
admport = 49189
admport2 = 49190
pwport = 49191
restport = 49192
restport2 = 49193
ipropport = 49194
ipropport2 = 49195
port = 11088
admport = 11089
admport2 = 11090
pwport = 11091
restport = 11092
restport2 = 11093
ipropport = 11094
ipropport2 = 11095
pkinit_ticket_max_life_from_cert = 0
if HAVE_DLOPEN
+1 -1
View File
@@ -8,7 +8,7 @@ check_SCRIPTS = $(TESTS) slapd-init
TESTS = check-ldap
port = 49188
port = 11088
do_subst = sed \
-e 's,[@]env_setup[@],$(abs_top_builddir)/tests/bin/setup-env,g' \
+1 -1
View File
@@ -10,7 +10,7 @@ noinst_DATA = krb5.conf
SCRIPT_TESTS = check-pac
TESTS = $(SCRIPT_TESTS)
port = 49188
port = 11088
do_subst = sed -e 's,[@]srcdir[@],$(abs_srcdir),g' \
-e 's,[@]env_setup[@],$(abs_top_builddir)/tests/bin/setup-env,g' \