Skip to content

Commit 4deca32

Browse files
committed
Auto merge of #4856 - alexcrichton:no-revoke, r=alexcrichton
Forcibly remove CARGO_HTTP_CHECK_REVOKE when testing This'll tweak error messages and cause tests to fail
2 parents 848eb15 + 8080b79 commit 4deca32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/cargotest/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ fn _process(t: &OsStr) -> cargo::util::ProcessBuilder {
5555
// can switch this to one and then fix the tests.
5656
.env("CARGO_INCREMENTAL", "0")
5757

58+
// This env var can switch the git backend from libgit2 to git2-curl, which
59+
// can tweak error messages and cause some tests to fail, so let's forcibly
60+
// remove it.
61+
.env_remove("CARGO_HTTP_CHECK_REVOKE")
62+
5863
.env_remove("__CARGO_DEFAULT_LIB_METADATA")
5964
.env_remove("RUSTC")
6065
.env_remove("RUSTDOC")

0 commit comments

Comments
 (0)