com php-src: Fixed test (system error messages may be different).: ext/snmp/tests/wrong_hostname.phpt
| From: | Dmitry Stogov | Date: | Wed, 07 Oct 2015 00:25:12 +0000 |
| Subject: | com php-src: Fixed test (system error messages may be different).: ext/snmp/tests/wrong_hostname.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89317@lists.php.net to get a copy of this message | ||
Commit: 91588a98be7a8640f3511e8fbae67d8dd7c2e53f
Author: Dmitry Stogov <dmitry@zend.com> Wed, 7 Oct 2015 03:25:12 +0300
Parents: abf3c2f796741e29b2b21770a96dbe82a94fc61a
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=91588a98be7a8640f3511e8fbae67d8dd7c2e53f
Log:
Fixed test (system error messages may be different).
Changed paths:
M ext/snmp/tests/wrong_hostname.phpt
Diff:
diff --git a/ext/snmp/tests/wrong_hostname.phpt b/ext/snmp/tests/wrong_hostname.phpt
index 53c6b22..2342476 100644
--- a/ext/snmp/tests/wrong_hostname.phpt
+++ b/ext/snmp/tests/wrong_hostname.phpt
@@ -18,5 +18,5 @@ var_dump(snmpget('192.168..6.1', 'community',
'.1.3.6..1.2.1.1.1.0', $timeout, $r
?>
--EXPECTF--
-Warning: snmpget(): php_network_getaddresses:%snot known in %s on line %d
+Warning: snmpget(): php_network_getaddresses:%s in %s on line %d
bool(false)