Skip to content

Commit ca31f96

Browse files
committed
Remove dead code in PXE boot test runner
1 parent 4f6f6bb commit ca31f96

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/runner/src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ pub fn run_test_kernel_on_uefi_pxe(kernel_binary_path: &str) {
5353

5454
bootloader::create_uefi_pxe_tftp_folder(kernel_path, &out_tftp_path).unwrap();
5555

56-
let out_fat_path = kernel_path.with_extension("fat");
57-
bootloader::create_boot_partition(kernel_path, &out_fat_path).unwrap();
58-
let out_gpt_path = kernel_path.with_extension("gpt");
59-
bootloader::create_uefi_disk_image(&out_fat_path, &out_gpt_path).unwrap();
60-
let out_mbr_path = kernel_path.with_extension("mbr");
61-
bootloader::create_bios_disk_image(&out_fat_path, &out_mbr_path).unwrap();
62-
6356
let mut run_cmd = Command::new("qemu-system-x86_64");
6457
run_cmd.arg("-netdev").arg(format!(
6558
"user,id=net0,net=192.168.17.0/24,tftp={},bootfile=bootloader,id=net0",

0 commit comments

Comments
 (0)