Skip to content

Commit b793fad

Browse files
committed
Fix build failure in ramdisk test calls
1 parent 5680887 commit b793fad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/ramdisk.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ static RAMDISK_PATH: &str = "tests/ramdisk.txt";
77
fn basic_boot() {
88
run_test_kernel_with_ramdisk(
99
env!("CARGO_BIN_FILE_TEST_KERNEL_RAMDISK_basic_boot"),
10-
Some(Path::new(RAMDISK_PATH)),
10+
Some(Path::new(RAMDISK_PATH).to_path_buf()),
1111
);
1212
}
1313

1414
#[test]
1515
fn check_ramdisk() {
1616
run_test_kernel_with_ramdisk(
1717
env!("CARGO_BIN_FILE_TEST_KERNEL_RAMDISK_ramdisk"),
18-
Some(Path::new(RAMDISK_PATH)),
18+
Some(Path::new(RAMDISK_PATH).to_path_buf()),
1919
);
2020
}

0 commit comments

Comments
 (0)