Commit 48bd529a authored by Cyril Brulebois's avatar Cyril Brulebois

Add check for the FS-level label.

Reminder:
 - the FS-level label is "TAILS";
 - the partition-level label is "Tails".
parent 26d25bfc
......@@ -838,3 +838,9 @@ Then /^the UUID of the FAT filesystem on the system partition on "(.+)" was rand
"FS UUID on #{name} wasn't randomized, it's still: #{fs_uuid}")
end
end
Then /^the label of the FAT filesystem on the system partition on "(.+)" is "(.+)"$/ do |name, label|
fs_label = $vm.execute_successfully("udisksctl info --block-device /dev/sda1 | awk '/IdLabel:/ {print $2}'").stdout.chomp
assert(label == fs_label,
"FS label on #{name} is #{fs_label} instead of the expected #{label}")
end
......@@ -137,3 +137,4 @@ Feature: Installing Tails to a USB drive
And the system partition on "usbimage" is an EFI system partition
And the FAT filesystem on the system partition on "usbimage" is at least 4000M large
And the UUID of the FAT filesystem on the system partition on "usbimage" was randomized
And the label of the FAT filesystem on the system partition on "usbimage" is "TAILS"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment