com php-src: Fix the lchwon error test for Travis CI.: ext/standard/tests/file/lchown_error.phpt

From: Date: Fri, 18 Nov 2016 16:55:44 +0000
Subject: com php-src: Fix the lchwon error test for Travis CI.: ext/standard/tests/file/lchown_error.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95874@lists.php.net to get a copy of this message
Commit: 55980684f69c23d8ac75ddb72f969c5ee851ae11 Author: Mitch Hagstrand <mhagstrand@gmail.com> Fri, 11 Nov 2016 15:40:30 -0800 Committer: Nikita Popov <nikic@php.net> Fri, 18 Nov 2016 17:55:44 +0100 Parents: e44deba1e9f51e562d620536f21b6aac987f280f Branches: PHP-5.6 PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=55980684f69c23d8ac75ddb72f969c5ee851ae11 Log: Fix the lchwon error test for Travis CI. The E_WARNING message from the PHP function lchown is passed from the system function lchown. The error message returned from lchown can be filesystem dependent. Changed paths: M ext/standard/tests/file/lchown_error.phpt Diff: diff --git a/ext/standard/tests/file/lchown_error.phpt b/ext/standard/tests/file/lchown_error.phpt index bacbd93..8632495 100644 --- a/ext/standard/tests/file/lchown_error.phpt +++ b/ext/standard/tests/file/lchown_error.phpt @@ -73,6 +73,6 @@ bool(true) Warning: lchown() expects parameter 1 to be a valid path, array given in %s on line %d bool(true) -Warning: lchown(): Operation not permitted in %s on line %d +Warning: lchown(): %r(Operation not permitted|Invalid argument)%r in %s on line %d bool(false) ===DONE===

« previous php.cvs (#95874) next »