Auto merge of #30006 - ntrepid8:skip-check-for-DYLD-libs-in-child-proc, r=alexcrichton
It seems that OS X El Capitan does not pass DYLD_* environment variables to child processes anymore. See this link: https://forums.developer.apple.com/thread/9233 The causes a test in `src/libstd/process.rs' to fail when those environment variables are not found in the child process. This PR skips those variables similar to how the Windows envars that start with `=` are skipped.
This commit is contained in:
commit
92f96b2445
@ -807,6 +807,7 @@ mod tests {
|
||||
// equals signs (`=`). Those do not show up in the output of the
|
||||
// `set` command.
|
||||
assert!((cfg!(windows) && k.starts_with("=")) ||
|
||||
k.starts_with("DYLD") ||
|
||||
output.contains(&format!("{}={}", *k, *v)),
|
||||
"output doesn't contain `{}={}`\n{}",
|
||||
k, v, output);
|
||||
|
Loading…
x
Reference in New Issue
Block a user