summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Hagstrand <mhagstrand@gmail.com>2016-11-11 15:40:30 -0800
committerNikita Popov <nikic@php.net>2016-11-18 17:55:44 +0100
commit55980684f69c23d8ac75ddb72f969c5ee851ae11 (patch)
tree44c54ef4c226382123c8429a56dd993e9702e9ff
parente44deba1e9f51e562d620536f21b6aac987f280f (diff)
downloadphp-git-55980684f69c23d8ac75ddb72f969c5ee851ae11.tar.gz
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.
-rw-r--r--ext/standard/tests/file/lchown_error.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/lchown_error.phpt b/ext/standard/tests/file/lchown_error.phpt
index bacbd93c82..8632495b39 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===