File: 0002-Fixes-unit-testing.patch

package info (click to toggle)
php-mail 1.2.0-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 248 kB
  • ctags: 346
  • sloc: php: 1,110; xml: 164; makefile: 8
file content (18 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Thomas Goirand <zigo@debian.org>
Date: Sun, 5 Oct 2014 00:57:36 +0700
Subject: Fixes-unit-testing

---
 Mail-1.2.0/tests/smtp_error.phpt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mail-1.2.0/tests/smtp_error.phpt b/Mail-1.2.0/tests/smtp_error.phpt
index 00c9e1d..732ac66 100755
--- a/Mail-1.2.0/tests/smtp_error.phpt
+++ b/Mail-1.2.0/tests/smtp_error.phpt
@@ -24,4 +24,4 @@ if (is_a($e, 'PEAR_Error')) {
 }
 
 --EXPECT--
-Failed to connect to bogus.host.tld:25 [SMTP: Failed to connect socket:  (code: -1, response: )]
+Failed to connect to bogus.host.tld:25 [SMTP: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known (code: -1, response: )]