Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/libstd/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,15 @@ mod tests {
continue
}

// `env` tests set and unset randomly generated variables
// with names starting with `TEST`. So between variable capture
// and process spawn `TEST*` variables can be unset
// if `env` tests executed concurrently with this test.
// Thus `TEST*` variables must not be checked in this test.
if k.starts_with("TEST") {
continue;
}

// Windows has hidden environment variables whose names start with
// equals signs (`=`). Those do not show up in the output of the
// `set` command.
Expand Down