MDL-34885 phpunit: better cygwin detection.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 14 Aug 2012 13:06:24 +0000 (14:06 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 14 Aug 2012 13:12:06 +0000 (14:12 +0100)
commitba338db5b54eb2081d72255b2205e9c2bad33725
tree8865fa52455ab4c77f7b29cabee3bdc410f9f906
parente6aac11d943c0d689a9cf8b2c9b5bd92148243bf
MDL-34885 phpunit: better cygwin detection.

For some reason, on my computer, $_SERVER['SHELL'] was not set, so I
changed the test to also consider $_SERVER['TERM']. This now works for
me.
lib/phpunit/bootstraplib.php