about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/header.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index 9612c0e06a3..f5505b6e83a 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -311,7 +311,7 @@ fn parse_exec_env(line: &str) -> Option<(String, String)> {
     parse_name_value_directive(line, "exec-env").map(|nv| {
         // nv is either FOO or FOO=BAR
         let mut strs: Vec<String> = nv
-                                      .splitn(1, '=')
+                                      .splitn(2, '=')
                                       .map(|s| s.to_string())
                                       .collect();