Because the table is present only on Linux, i.e. on macOS:
[ 85%] main.socket_diag_slaves_ssl 'innodb_intrinsic_table' w6 [ fail ]
Test ended at 2023-09-04 14:24:58
CURRENT_TEST: main.socket_diag_slaves_ssl
mysqltest: At line 13: Query 'SELECT * FROM information_schema.socket_diag_slaves' failed.
ERROR 1109 (42S02): Unknown table 'SOCKET_DIAG_SLAVES' in information_schema
At the same time swap have_debug.inc with master-slave.inc in socket_diag_slaves_list so that a cheap check comes before expensive setup.
Squash with accb01cc760345cba3f01776c997780935b6546b
Because the table is present only on Linux, i.e. on macOS:
[ 85%] main.socket_diag_slaves_ssl 'innodb_intrinsic_table' w6 [ fail ] Test ended at 2023-09-04 14:24:58
CURRENT_TEST: main.socket_diag_slaves_ssl mysqltest: At line 13: Query 'SELECT * FROM information_schema.socket_diag_slaves' failed. ERROR 1109 (42S02): Unknown table 'SOCKET_DIAG_SLAVES' in information_schema
At the same time swap have_debug.inc with master-slave.inc in socket_diag_slaves_list so that a cheap check comes before expensive setup.
Squash with accb01cc760345cba3f01776c997780935b6546b