Skip to content

Commit 8c676db

Browse files
committed
integration-test: make more resilient against different GRUB versions
1 parent 1d46d45 commit 8c676db

File tree

1 file changed

+1
-1
lines changed
  • integration-test/bins/multiboot2_payload/src/verify

1 file changed

+1
-1
lines changed

integration-test/bins/multiboot2_payload/src/verify/grub.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn basic_sanity_checks(mbi: &BootInformation) -> anyhow::Result<()> {
2323
.map_err(anyhow::Error::msg)?
2424
.cmdline()
2525
.map_err(anyhow::Error::msg)?;
26-
assert_eq!(bootloader_name, "GRUB 2.06");
26+
assert!(bootloader_name.starts_with("GRUB 2."));
2727
assert_eq!(cmdline, "some commandline arguments");
2828

2929
Ok(())

0 commit comments

Comments
 (0)