Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.5, 2.0
-
Fix Version/s: 1.9.8
-
Component/s: Unit tests
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
Things like ....
Unexpected PHP error [file_get_contents(/var/www/moodle/eventmanager/local/simpletest/.testlocal.php.swp)
And searching CVS or .git/objects
Could be avoided by using a list of excludes or similar.
Ive made changes to filter out cvs and .git directories however they are uncommitted. I'm waiting for 1.9.7 to be out before committing them.
I haven't been able to determine if the regular expression involved has been modified since this bug was submitted but a file with a name like .testlocal.php.swp won't be mistaken for a test file with the code as it currently stands.