Skip to content

Commit 5598068

Browse files
mhagstrandnikic
authored andcommitted
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.
1 parent e44deba commit 5598068

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)