Follow up from #836982: Feeds.module tests do not work when run from the command line

Defaults: Node import 132 passes, 9 fails, and 0 exceptions
Mapper: FileField 85 passes, 4 fails, and 0 exceptions

Comments

Steven Merrill’s picture

Status: Active » Needs review

This happens because of differences in file permissions. Either run the tests as the Apache user, or make sure that the user who is running the tests produces files and folders and that are readable and writeable by the Apache user. (We did this in our test setup by giving the files directory and all its subdirectories the setgid bit and a 002 umask.)

Should we look at documenting this a little better?

alex_b’s picture

Project: Feeds » Feeds Test Site
Version: 6.x-1.x-dev » 6.x-1.2
Category: bug » task

That would be *awesome*.

Could be a patch to Feeds Test Site's README file.