Look for the PATH environment variable rather than USER
authorChristopher Dykes <cdykes@fb.com>
Tue, 9 Aug 2016 23:24:21 +0000 (16:24 -0700)
committerFacebook Github Bot 1 <facebook-github-bot-1-bot@fb.com>
Tue, 9 Aug 2016 23:38:28 +0000 (16:38 -0700)
commit4d777293b5993289afd023c43442833e3f2ac2eb
tree3de95eee2f84d9cfdd7f7d406fa6a0bee6ff6ba5
parent703fb237499a57c05cb216773145211dd1d6ecb4
Look for the PATH environment variable rather than USER

Summary: Windows is weird and calls it USERNAME instead, so just use one that everything agrees on: PATH

Reviewed By: yfeldblum

Differential Revision: D3691072

fbshipit-source-id: 579c6484736ef47e130049c29bef8b59c66a4482
folly/experimental/test/TestUtilTest.cpp