Allow tests to run with a non-writable source tree
authorTim Starling <tstarling@wikimedia.org>
Thu, 30 Aug 2018 00:48:50 +0000 (10:48 +1000)
committerTim Starling <tstarling@wikimedia.org>
Thu, 30 Aug 2018 00:48:50 +0000 (10:48 +1000)
commit11278f848deb3bae3b653aa741915873e43aa766
treebee09effd562714fa7fce77a577b04765a288190
parent1ac42d5c82a25132a9c7db131f1ac9c3c8db57c7
Allow tests to run with a non-writable source tree

It's insecure to allow apps to modify their own source, that's how file
write vulnerabilities escalate to code execution.

Change-Id: I0f79b2b7c7502405a62dcb176d8be4633ce4eda5
tests/phpunit/includes/GitInfoTest.php