diff options
author | Ferenc Kovacs <tyrael@php.net> | 2015-10-19 23:56:23 +0200 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2015-10-19 23:57:43 +0200 |
commit | 131a348d37a2386dd71530ad380da0773dc9b770 (patch) | |
tree | f617158ecc767eebadb3b83ae3ad3d85269b124b /travis | |
parent | fa0ffa477747dc2986a2a7bdf6880db76a289386 (diff) | |
download | php-git-131a348d37a2386dd71530ad380da0773dc9b770.tar.gz |
remove imap tests for now until I finish the sudoless dovecot config
Diffstat (limited to 'travis')
-rw-r--r-- | travis/ext/imap/dovecot.conf | 22 | ||||
-rw-r--r-- | travis/ext/imap/dovecotpass | 1 | ||||
-rw-r--r-- | travis/ext/imap/imap.exp | 29 | ||||
-rw-r--r-- | travis/ext/imap/setup.sh | 11 |
4 files changed, 0 insertions, 63 deletions
diff --git a/travis/ext/imap/dovecot.conf b/travis/ext/imap/dovecot.conf deleted file mode 100644 index c321cb0099..0000000000 --- a/travis/ext/imap/dovecot.conf +++ /dev/null @@ -1,22 +0,0 @@ -auth_debug = yes -auth_mechanisms = login -auth_verbose = yes -disable_plaintext_auth = no -auth_mechanisms = plain login cram-md5 -listen = * -mail_location = maildir:/home/vmail/mail/%d/%n/Maildir -mbox_write_locks = fcntl -passdb { - args = /etc/dovecot/dovecotpass - driver = passwd-file -} -protocols = imap -service auth { - user = root -} -ssl = no -userdb { - args = uid=11459 gid=10002 home=/home/vmail/dovecot/mail/%d/%n - driver = static -} -log_path = /var/log/dovecot.log diff --git a/travis/ext/imap/dovecotpass b/travis/ext/imap/dovecotpass deleted file mode 100644 index f68e6c3cae..0000000000 --- a/travis/ext/imap/dovecotpass +++ /dev/null @@ -1 +0,0 @@ -webmaster@something.com:{plain}p4ssw0rd diff --git a/travis/ext/imap/imap.exp b/travis/ext/imap/imap.exp deleted file mode 100644 index de254bbd8f..0000000000 --- a/travis/ext/imap/imap.exp +++ /dev/null @@ -1,29 +0,0 @@ -send_user "IMAP test start..." -spawn telnet 127.0.0.1 143 - -expect "Dovecot ready" { - send_user "OK: $expect_out(0,string)\n" -} "refused" { - send_user "connect to POP refused\n" - exit 1 -} timeout { - send_user "connect to POP timeout\n" - exit 1 -} - -send "a1 LOGIN webmaster@something.com p4ssw0rd\n" - -expect "a1 OK" { - send_user "OK, imap works\n" -} "a1 NO*" { - send_user "auth failed: $expect_out(buffer)\n" - exit 1 -} "error*" { - send_user "ERROR: $expect_out(buffer)\n" -} timeout { - send_user "connect to POP timeout\n" - exit 1 -} - -exit 0 - diff --git a/travis/ext/imap/setup.sh b/travis/ext/imap/setup.sh deleted file mode 100644 index 228fee037b..0000000000 --- a/travis/ext/imap/setup.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -sudo groupadd -g 10002 vmail -sudo useradd -g 10002 -u 11459 vmail -sudo apt-get -y install expect dovecot-imapd -sudo cp ./travis/ext/imap/dovecot.conf ./travis/ext/imap/dovecotpass /etc/dovecot -sudo mkdir -p /home/vmail/mail/something.com -sudo chown -R vmail:vmail /home/vmail/mail -sudo chmod -R u+w /home/vmail/mail -sudo service dovecot stop -sudo service dovecot start -expect ./travis/ext/imap/imap.exp |