From f619e66781d85ad06cc847a0dd5776127a8359bc Mon Sep 17 00:00:00 2001 From: Weilin Du Date: Sat, 27 Jun 2026 12:44:25 +0800 Subject: [PATCH] ext/snmp: Add XFAIL on several tests (#22476) SNMP tests are likely to fail on Windows CI when network features are tested. So I add all these XFAIL sections to those tests to make sure it don't bother unrelated CI runs. --- ext/snmp/tests/bug64124.phpt | 2 ++ ext/snmp/tests/bug64159.phpt | 2 ++ ext/snmp/tests/generic_timeout_error.phpt | 2 ++ ext/snmp/tests/ipv6.phpt | 2 ++ ext/snmp/tests/snmp-object-errno-errstr.phpt | 2 ++ ext/snmp/tests/snmp-object.phpt | 2 ++ ext/snmp/tests/snmp2_get.phpt | 2 ++ ext/snmp/tests/snmp2_getnext.phpt | 2 ++ ext/snmp/tests/snmp2_real_walk.phpt | 2 ++ ext/snmp/tests/snmp2_set-nomib.phpt | 2 ++ ext/snmp/tests/snmp2_set.phpt | 2 ++ ext/snmp/tests/snmp2_walk.phpt | 2 ++ ext/snmp/tests/snmp3-error.phpt | 2 ++ ext/snmp/tests/snmp3.phpt | 2 ++ ext/snmp/tests/snmp_getvalue.phpt | 3 ++- ext/snmp/tests/snmpget.phpt | 2 ++ ext/snmp/tests/snmpgetnext.phpt | 2 ++ ext/snmp/tests/snmprealwalk.phpt | 2 ++ ext/snmp/tests/snmpset-nomib.phpt | 2 ++ ext/snmp/tests/snmpset.phpt | 2 ++ ext/snmp/tests/snmpwalk.phpt | 2 ++ 21 files changed, 42 insertions(+), 1 deletion(-) diff --git a/ext/snmp/tests/bug64124.phpt b/ext/snmp/tests/bug64124.phpt index 4fbf80f0400a..5e2c43dc6ada 100644 --- a/ext/snmp/tests/bug64124.phpt +++ b/ext/snmp/tests/bug64124.phpt @@ -13,6 +13,8 @@ if (@inet_ntop($packed) === false) { die("skip no IPv6 support"); } ?> +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- --ENV-- MIBS=noneXistent +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- --ENV-- MIBS= +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- --ENV-- MIBS= +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE-- +--XFAIL-- +SNMP tests might possibly fail on Windows --FILE--