From 893ca537b0a3dfb05d918d53e61fbf8cf9ca4f90 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 10 Jul 2023 04:43:07 -0400 Subject: [PATCH] ext/imap/tests/*mutf7*.phpt: update for missing utf8_to_mutf7() (#11654) Our ./configure script (ext/imap/config.m4) checks for the utf8_to_mutf7() function in the c-client library, and defines HAVE_IMAP_MUTF7 only if it exists. The two corresponding PHP functions are disabled when it does not, but their tests do not account for that. Here we add two SKIPIFs to hand that scenario. --- ext/imap/tests/imap_mutf7_to_utf8.phpt | 8 ++++++++ ext/imap/tests/imap_utf8_to_mutf7_basic.phpt | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/ext/imap/tests/imap_mutf7_to_utf8.phpt b/ext/imap/tests/imap_mutf7_to_utf8.phpt index 3d4d7a40578..4ff2e15cc57 100644 --- a/ext/imap/tests/imap_mutf7_to_utf8.phpt +++ b/ext/imap/tests/imap_mutf7_to_utf8.phpt @@ -2,6 +2,14 @@ imap_mutf7_to_utf8 --EXTENSIONS-- imap +--SKIPIF-- + --FILE-- --FILE--