Skip to content

Commit

Permalink
Auto merge of #4856 - alexcrichton:no-revoke, r=alexcrichton
Browse files Browse the repository at this point in the history
Forcibly remove CARGO_HTTP_CHECK_REVOKE when testing

This'll tweak error messages and cause tests to fail
  • Loading branch information
bors committed Dec 22, 2017
2 parents 848eb15 + 8080b79 commit 4deca32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/cargotest/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 4deca32

Please sign in to comment.