From: Josh Austin Date: Mon, 23 Nov 2015 19:08:52 +0000 (-0500) Subject: skip check for DYLD envars in child proc X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=c2f0442a2ac7a0817a58d34ac885eca6e049ca82;p=rust.git skip check for DYLD envars in child proc --- diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 083205e824d..40803a4bbd6 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -807,6 +807,7 @@ fn test_inherit_env() { // 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);