Skip to content

Commit

Permalink
test: luks test fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Jan 11, 2024
1 parent daeced0 commit fb4eec8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/verify/check-storage-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,13 @@ ExecStart=/usr/bin/sleep infinity
umount {mount_point}
cryptsetup luksClose /dev/mapper/btrfs-test
""")
b.wait_in_text(self.card_row("Storage", name="sda"), "Filesystem (encrypted)")
self.click_dropdown(self.card_row("Storage", name="sda"), "Mount")
self.dialog({"mount_point": mount_point, "passphrase": passphrase})

b.wait_in_text(self.card_row("Storage", name="sda"), "Locked data (encrypted)")
self.click_dropdown(self.card_row("Storage", name="sda"), "Unlock")
self.dialog({"passphrase": "einszweidrei"})
b.wait_in_text(self.card_row("Storage", name="sda"), "btrfs device (encrypted)")

self.click_dropdown(self.card_row("Storage", name=label) + " + tr", "Mount")
self.confirm()
b.wait_in_text(self.card_row("Storage", location=mount_point), "btrfs subvolume")


Expand Down

0 comments on commit fb4eec8

Please sign in to comment.