✅ Write the shared image's path as TOML in the renewal test

a_renewal_waits_for_another_vm_on_its_image wrote the second VM's vm.toml
with the shared OpenCore image's path straight into a TOML basic string.
On Windows the path's backslashes then read as escapes, so the file failed
to parse and the test panicked before it reached the renewal (Windows leg
dev8a47-win, m3-max-79253). The path now goes through testenv::toml_path,
as the crate's other tests write theirs. Tests only; nothing changes for
users.
This commit is contained in:
Anees Iqbal committed 2026-12-02 10:40:01 -08:00
1 parent 2290bad097
commit 25488bee35
1 file changed
+1 -1
+1 -1
View File
@@ -1728,7 +1728,7 @@ pub(crate) mod tests {
firmware_code = "OVMF_CODE.fd"
firmware_vars = "OVMF_VARS.fd"
"#,
shared.display()
crate::testenv::toml_path(&shared)
);
std::fs::write(other.join(crate::vm::CONFIG_FILE), config).unwrap();
let mut reg = crate::vm::Registry::default();