Skip to content

Commit a13925d

Browse files
committed
Revert changes to ramdisk test
1 parent 8db0939 commit a13925d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/ramdisk.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
use std::path::Path;
22

33
use bootloader_test_runner::run_test_kernel_with_ramdisk;
4-
54
static RAMDISK_PATH: &str = "tests/ramdisk.txt";
65

76
#[test]
87
fn basic_boot() {
98
run_test_kernel_with_ramdisk(
109
env!("CARGO_BIN_FILE_TEST_KERNEL_RAMDISK_basic_boot"),
11-
Some(Path::new(RAMDISK_PATH).to_path_buf()),
10+
Some(Path::new(RAMDISK_PATH)),
1211
);
1312
}
1413

1514
#[test]
1615
fn check_ramdisk() {
1716
run_test_kernel_with_ramdisk(
1817
env!("CARGO_BIN_FILE_TEST_KERNEL_RAMDISK_ramdisk"),
19-
Some(Path::new(RAMDISK_PATH).to_path_buf()),
18+
Some(Path::new(RAMDISK_PATH)),
2019
);
2120
}

0 commit comments

Comments
 (0)