We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70192ab commit 2c2f0f1Copy full SHA for 2c2f0f1
src/libstd/old_io/process.rs
@@ -1079,13 +1079,13 @@ mod tests {
1079
#[test]
1080
fn test_override_env() {
1081
use os;
1082
- let mut new_env = vec![("RUN_TEST_NEW_ENV", "123")];
1083
1084
// In some build environments (such as chrooted Nix builds), `env` can
1085
// only be found in the explicitly-provided PATH env variable, not in
1086
// default places such as /bin or /usr/bin. So we need to pass through
1087
// PATH to our sub-process.
1088
let path_val: String;
+ let mut new_env = vec![("RUN_TEST_NEW_ENV", "123")];
1089
match os::getenv("PATH") {
1090
None => {}
1091
Some(val) => {
0 commit comments