]> git.lizzy.rs Git - rust.git/commitdiff
skip check for DYLD envars in child proc
authorJosh Austin <josh.austin@gmail.com>
Mon, 23 Nov 2015 19:08:52 +0000 (14:08 -0500)
committerJosh Austin <josh.austin@gmail.com>
Mon, 23 Nov 2015 19:08:52 +0000 (14:08 -0500)
src/libstd/process.rs

index 083205e824d59eefd8c539923976afd8d6f522b2..40803a4bbd6a829d4477dd75ac073e32f4b90351 100644 (file)
@@ -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);