Revert "Fix remote exec env overlay CI failures"

This reverts commit 05f23aebae.
This commit is contained in:
pakrym-oai
2026-04-10 19:33:07 -07:00
parent 05f23aebae
commit 71279f0f58
2 changed files with 14 additions and 16 deletions

View File

@@ -695,14 +695,12 @@ mod tests {
include_only: Vec::new(),
});
let mut expected = HashMap::from([
("OVERLAY".to_string(), "overlay".to_string()),
("POLICY_SET".to_string(), "overlay-wins".to_string()),
]);
if cfg!(target_os = "windows") {
expected.insert("PATHEXT".to_string(), ".COM;.EXE;.BAT;.CMD".to_string());
}
assert_eq!(child_env(&params), expected);
assert_eq!(
child_env(&params),
HashMap::from([
("OVERLAY".to_string(), "overlay".to_string()),
("POLICY_SET".to_string(), "overlay-wins".to_string()),
])
);
}
}