com php-src: fix test: ext/mysqli/tests/mysqli_expire_passw ord.phpt

From: Date: Sun, 04 Dec 2016 21:42:39 +0000
Subject: com php-src: fix test: ext/mysqli/tests/mysqli_expire_passw ord.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96185@lists.php.net to get a copy of this message
Commit: eddca73ad2b3db7a3700b703e2a98e710ed0ae8d Author: Anatol Belski <ab@php.net> Sun, 4 Dec 2016 22:42:39 +0100 Parents: 1eb3f01c680c2b281d848d2f9c41e09092e952d9 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eddca73ad2b3db7a3700b703e2a98e710ed0ae8d Log: fix test This test depends on connection flags modifable from teh env, that can affect the exact function called. Changed paths: M ext/mysqli/tests/mysqli_expire_password.phpt Diff: diff --git a/ext/mysqli/tests/mysqli_expire_password.phpt b/ext/mysqli/tests/mysqli_expire_password.phpt index 4fdf902..6ce5eea 100644 --- a/ext/mysqli/tests/mysqli_expire_password.phpt +++ b/ext/mysqli/tests/mysqli_expire_password.phpt @@ -127,10 +127,10 @@ if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'% ?> --EXPECTF-- -Warning: mysqli_real_connect(): (HY000/1862): %s in %s on line %d +Warning: mysqli%sconnect(): (HY000/1862): %s in %s on line %d [001] Cannot connect [1862] %s -Warning: mysqli_real_connect(): (HY000/1862): %s in %s on line %d +Warning: mysqli%sconnect(): (HY000/1862): %s in %s on line %d [003] Cannot connect [1862] %s [006] Connect allowed, query fail, [1820] %s [008] Connect allowed, pw set, [0%A

« previous php.cvs (#96185) next »