From 38a1db9e76f1a3070a47d366eef29ec96a915fbd Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 9 Jul 2023 18:12:50 -0400 Subject: [PATCH 1/2] ext/imap/tests/*mutf7*.phpt: update for missing utf8_to_mutf7() 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 | 9 +++++++++ ext/imap/tests/imap_utf8_to_mutf7_basic.phpt | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/ext/imap/tests/imap_mutf7_to_utf8.phpt b/ext/imap/tests/imap_mutf7_to_utf8.phpt index 3d4d7a4057851..de0b3fe2588e3 100644 --- a/ext/imap/tests/imap_mutf7_to_utf8.phpt +++ b/ext/imap/tests/imap_mutf7_to_utf8.phpt @@ -2,6 +2,15 @@ imap_mutf7_to_utf8 --EXTENSIONS-- imap +--SKIPIF-- + --FILE-- --FILE-- Date: Mon, 10 Jul 2023 09:42:48 +0100 Subject: [PATCH 2/2] [skip ci] indent --- ext/imap/tests/imap_mutf7_to_utf8.phpt | 11 +++++------ ext/imap/tests/imap_utf8_to_mutf7_basic.phpt | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/ext/imap/tests/imap_mutf7_to_utf8.phpt b/ext/imap/tests/imap_mutf7_to_utf8.phpt index de0b3fe2588e3..4ff2e15cc574f 100644 --- a/ext/imap/tests/imap_mutf7_to_utf8.phpt +++ b/ext/imap/tests/imap_mutf7_to_utf8.phpt @@ -4,12 +4,11 @@ imap_mutf7_to_utf8 imap --SKIPIF-- --FILE-- --FILE--