Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion osutils/src/pcrlock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,6 @@ mod functional_test {
// TODO: This test will fail for now since .pcrlock files have not been generated/added
// yet. Once static .pcrlock files are added and dynamic files are generated, the test
// should pass.
validate_log().unwrap_err();
validate_log().unwrap();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does the comment need updating?

}
}
4 changes: 2 additions & 2 deletions src/engine/bootentries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,13 +785,13 @@ mod tests {
fn test_update_efi_boot_order() {
let bootmgr_output = get_bootmgr_output();

// Test first-case where boot entry is already at the first position in `BootOrder`
// Test first-case where boot entry is not part of `BootOrder`
let result = generate_new_boot_order(
&bootmgr_output,
&String::from("0001"),
&BootOrderPosition::First,
);
assert_eq!(result, None);
assert_eq!(result, Some("0001,0000".to_string()));

// Test first-case where boot entry is not part of `BootOrder`
let result = generate_new_boot_order(
Expand Down
Loading