From: Alex Crichton Date: Fri, 22 Dec 2017 16:07:20 +0000 (-0800) Subject: Forcibly remove CARGO_HTTP_CHECK_REVOKE when testing X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~4^2~8^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8080b79d1dddef331e4295e14ce8a8ccdc0f608f;p=cargo.git Forcibly remove CARGO_HTTP_CHECK_REVOKE when testing This'll tweak error messages and cause tests to fail --- diff --git a/tests/cargotest/lib.rs b/tests/cargotest/lib.rs index e809ba3f4..db7b9020e 100644 --- a/tests/cargotest/lib.rs +++ b/tests/cargotest/lib.rs @@ -55,6 +55,11 @@ fn _process(t: &OsStr) -> cargo::util::ProcessBuilder { // can switch this to one and then fix the tests. .env("CARGO_INCREMENTAL", "0") + // This env var can switch the git backend from libgit2 to git2-curl, which + // can tweak error messages and cause some tests to fail, so let's forcibly + // remove it. + .env_remove("CARGO_HTTP_CHECK_REVOKE") + .env_remove("__CARGO_DEFAULT_LIB_METADATA") .env_remove("RUSTC") .env_remove("RUSTDOC")