Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b793fad

Browse filesBrowse files
committed
Fix build failure in ramdisk test calls
1 parent 5680887 commit b793fad
Copy full SHA for b793fad

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎tests/ramdisk.rs

Copy file name to clipboardExpand all lines: tests/ramdisk.rs
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.