-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Test IMAP on Azure #6162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test IMAP on Azure #6162
Conversation
azure/configure.yml
Outdated
@@ -60,5 +60,6 @@ steps: | |||
--with-unixODBC \ | |||
--enable-werror \ | |||
--with-config-file-path=/etc \ | |||
--with-config-file-scan-dir=/etc/php.d | |||
--with-config-file-scan-dir=/etc/php.d \ | |||
--with-imap --with-kerberos --with-imap-ssl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move these before --enable-werror and one per line.
@@ -2,13 +2,13 @@ | |||
extension_loaded('imap') or die('skip imap extension not available in this build'); | |||
|
|||
// Change these to make tests run successfully | |||
$mailbox = '{localhost/norsh}'; | |||
$mailbox = '{127.0.0.1:143/debug/norsh}'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/debug
intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used it to debug the connection locally and I think it would be rather useful to leave it on
ext/imap/tests/skipif.inc
Outdated
$username = '[email protected]'; | ||
$password = 'p4ssw0rd'; | ||
$options = OP_HALFOPEN; // this should be enough to verify server present | ||
$retries = 0; // don't retry connect on failure | ||
|
||
$mbox = @imap_open($mailbox, $username, $password, $options, $retries); | ||
$mbox = imap_open($mailbox, $username, $password, $options, $retries); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suppression needs to stay here, otherwise SKIPIF will break.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to revert while I was debugging the connection
Drop various ZPP checks and make them PASS Add CONFLICT file as the tests all hit the same mailbox
cc61664
to
0824b30
Compare
Took me a while but this should build and test the IMAP extension on Azure Pipelines.