Skip to content

Commit 3b830cf

Browse files
committed
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
1 parent 0d25376 commit 3b830cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/file/lchown_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ bool(true)
7373
Warning: lchown() expects parameter 1 to be a valid path, array given in %s on line %d
7474
bool(true)
7575

76-
Warning: lchown(): Operation not permitted in %s on line %d
76+
Warning: lchown(): %r(Operation not permitted|Invalid argument)%r in %s on line %d
7777
bool(false)
7878
===DONE===

0 commit comments

Comments
 (0)