Auto merge of #4630 - ehuss:new-test-temp-dir, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 17 Oct 2017 14:24:37 +0000 (14:24 +0000)
committerbors <bors@rust-lang.org>
Tue, 17 Oct 2017 14:24:37 +0000 (14:24 +0000)
Fix `new` tests on Windows inadvertently picking up ~/.cargo/config.

Fixes #4601.  By relying on `__CARGO_TEST_ROOT`, using a temp directory is no
longer necessary.


Trivial merge