We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec8d46 commit 996635bCopy full SHA for 996635b
build_system/src/test.rs
@@ -345,8 +345,13 @@ fn run_command_in_vm(
345
let sudo_command: &[&dyn AsRef<OsStr>] = &[&"sudo", &"cp", &exe, &vm_exe_path];
346
run_command_with_env(sudo_command, None, Some(env))?;
347
348
- let mut vm_command: Vec<&dyn AsRef<OsStr>> =
349
- vec![&"sudo", &"chroot", &"qemu-m68k-static", &inside_vm_exe_path];
+ let mut vm_command: Vec<&dyn AsRef<OsStr>> = vec![
+ &"sudo",
350
+ &"chroot",
351
+ &vm_dir,
352
+ &"qemu-m68k-static",
353
+ &inside_vm_exe_path,
354
+ ];
355
vm_command.extend_from_slice(command);
356
run_command_with_env(&vm_command, Some(&vm_parent_dir), Some(env))?;
357
Ok(())
0 commit comments