Skip to content

Commit

Permalink
Alos fix tests, of course
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <itxaka@kairos.io>
  • Loading branch information
Itxaka committed Sep 24, 2024
1 parent b50a386 commit fb80a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/elemental/elemental_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ var _ = Describe("Elemental", Label("elemental"), func() {
// Should be efi type
Expect(partition.Type).To(Equal(gpt.EFISystemPartition))
// should have boot label
Expect(partition.Name).To(Equal(cnst.EfiLabel))
Expect(partition.Name).To(Equal(cnst.EfiPartName))
// Should have predictable UUID
Expect(strings.ToLower(partition.UUID())).To(Equal(strings.ToLower(uuid.NewV5(uuid.NamespaceURL, cnst.EfiLabel).String())))
// Check the rest have the proper types
Expand Down Expand Up @@ -431,7 +431,7 @@ var _ = Describe("Elemental", Label("elemental"), func() {
// Should be BIOS boot type
Expect(partition.Type).To(Equal(gpt.BIOSBoot))
// should have boot label
Expect(partition.Name).To(Equal(cnst.EfiLabel))
Expect(partition.Name).To(Equal(cnst.BiosPartName))
// Should have predictable UUID
Expect(strings.ToLower(partition.UUID())).To(Equal(strings.ToLower(uuid.NewV5(uuid.NamespaceURL, cnst.EfiLabel).String())))
for i := 1; i < len(disk.Table.GetPartitions()); i++ {
Expand Down

0 comments on commit fb80a66

Please sign in to comment.