We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73ed6a5 + 03932d6 commit b6581d3Copy full SHA for b6581d3
tests/testsuite/support/mod.rs
@@ -1679,6 +1679,7 @@ fn _process(t: &OsStr) -> cargo::util::ProcessBuilder {
1679
.env_remove("XDG_CONFIG_HOME") // see #2345
1680
.env("GIT_CONFIG_NOSYSTEM", "1") // keep trying to sandbox ourselves
1681
.env_remove("EMAIL")
1682
+ .env_remove("USER") // not set on some rust-lang docker images
1683
.env_remove("MFLAGS")
1684
.env_remove("MAKEFLAGS")
1685
.env_remove("CARGO_MAKEFLAGS")
tests/testsuite/workspaces.rs
@@ -992,6 +992,7 @@ root: [..]
992
fn new_warning_with_corrupt_ws() {
993
let p = project().file("Cargo.toml", "asdf").build();
994
p.cargo("new bar")
995
+ .env("USER", "foo")
996
.with_stderr(
997
"\
998
[WARNING] compiling this new crate may not work due to invalid workspace configuration
0 commit comments