socket-14.19 and scan-15.1 fail on illumos
Closed / Fixeddbf9884c567e3e342ba13f3366d6a0e5a54dfa2dCreated 53 days agoUpdated 46 days ago
Descriptionwiki2026-10-12 08:18:26
Two tests fail on illumos (OpenIndiana) because of platform differences, not Tcl bugs:
- socket-14.19 uses
-reuseport yes, but illumos has no SO_REUSEPORT, sosocketfails with "SO_REUSEPORT isn't supported by this platform". - scan-15.1 cases n19-n21 expect
format %.17gof an overflowing value to match*inf, but the illumos libc printsinfinity.
Proposed fix in branch tests-illumos-portability:
a new constraint reuseport for socket-14.19, and the pattern
*inf* in scan-15.1.
Referenced by3
aba76913ebFix [e99187025f], [dbf9884c56] and [59e7e7fdfb]: socket-related test portability improvements check-in2026-10-18 20:23:4603198ed31cFix [e99187025f], [dbf9884c56] and [59e7e7fdfb]: socket-related test portability improvements check-in2026-10-18 20:23:232ca01666b3Fix [dbf9884c56]: test portability for illumos: skip socket-14.19 where SO_REUSEPORT is not supported (new constraint reuseport), and accept "infinity" as well as "inf" in scan-15.1. check-in2026-10-12 08:15:45
jan.nijtmanswiki2026-10-18 20:26:18
Fixed in [trunk], backported to core-9-0-branch
Many thanks!
jan.nijtmanswiki2026-10-18 20:44:01
B.T.W.: the scan-15.1 changes were reverted, because they were also fixed by [2dff98e079] (which is a better fix)
Log in (anonymous is fine) to add a comment.