]> khamidou — GitHub mirrors - arcanist.git/commit
Fix PhutilUnitTest issue with symlinks that point into a libphutil library
authorepriestley <git@epriestley.com>
Wed, 25 Apr 2012 23:13:04 +0000 (16:13 -0700)
committerepriestley <git@epriestley.com>
Wed, 25 Apr 2012 23:13:04 +0000 (16:13 -0700)
commitdd11fee5ef904fcb0633e6f013b169fea28a6333
tree9e2f9cd58f220dd0ba7984f707807bcb3b05cfdc
parent946a9e44a3338d2ca376d54d567254f94a7c9d5c
Fix PhutilUnitTest issue with symlinks that point into a libphutil library

Summary: Currently, if you change a symlink outside a libphutil library and the link target is something inside a libphutil library, we may enter an inifite loop in the "do { ... } while(...)" later. Just bail if the loop won't resolve.

Test Plan: Ran arc unit, Airtime reported the issue resolved by a similar fix.

Reviewers: cpiro, btrahan

Reviewed By: cpiro

CC: aran
Differential Revision: https://secure.phabricator.com/D2318
src/unit/engine/phutil/PhutilUnitTestEngine.php