summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Hagstrand <mhagstrand@gmail.com>2016-11-11 15:40:30 -0800
committerMitch Hagstrand <mhagstrand@gmail.com>2016-11-11 16:17:07 -0800
commit3b830cfb5c87974eb48596cdc4e4bf07cab89acc (patch)
tree1c58160872f953797548023ca8d04aa6e1648838
parent0d253769001a623cfbdcea317c60b3e0cabf4c16 (diff)
downloadphp-git-3b830cfb5c87974eb48596cdc4e4bf07cab89acc.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. https://github.com/php/php-src/blob/6053987bc27e8dede37f437193a5cad448f99bce/ext/standard/filestat.c#L406
-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===