https://bugzilla.wikimedia.org/show_bug.cgi?id=40491

Antoine "hashar" Musso <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
            Summary|All file backend tests      |filebackend tests should
                   |failing                     |use their own
                   |                            |$wgFilebackends
                   |                            |configuration
           Severity|normal                      |enhancement

--- Comment #3 from Antoine "hashar" Musso <[email protected]> 2012-09-25 07:36:02 
UTC ---
I guess /www/w/images/lockdir/ should be fixed to be group writable or you will
get the same issue with any maintenance script using the filebackend unless
they are being run under the www-data user account.

About the test suite itself, we should probably override the $wgFilebackend
stuff with a custom configuration using /tmp as root.  We could also attempt to
mock the filesystem as described on
http://www.phpunit.de/manual/current/en/test-doubles.html#test-doubles.mocking-the-filesystem
but that will add yet another layer.

Rephrased subject.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to