summaryrefslogtreecommitdiffstats
path: root/features/usb_upgrade.feature
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-01-20 12:19:46 +0000
committerintrigeri <intrigeri@boum.org>2018-01-20 15:51:08 +0000
commit783c0ef6f200809376a348f7c8181f6978118794 (patch)
treee10e4da18276199d4f7491b84bca86bba3ca6462 /features/usb_upgrade.feature
parent8f5e0802a0e2a9ea27a4cef1a68f6bcb8bbf60ee (diff)
Test suite: add a "Try cloning Tails to a too small partition" scenario (refs: #14622).
Diffstat (limited to 'features/usb_upgrade.feature')
-rw-r--r--features/usb_upgrade.feature8
1 files changed, 8 insertions, 0 deletions
diff --git a/features/usb_upgrade.feature b/features/usb_upgrade.feature
index 418ea96..e49fc24 100644
--- a/features/usb_upgrade.feature
+++ b/features/usb_upgrade.feature
@@ -10,6 +10,14 @@ Feature: Upgrading an old Tails USB installation
# other. When editing this feature, make sure you understand these
# dependencies (which are documented below).
+ Scenario: Try cloning Tails to a too small partition
+ Given I have started Tails from DVD without network and logged in
+ And I temporarily create a 7200 MiB disk named "too-small-partition"
+ And I create a 500 MiB gpt partition labeled "Tails" with a vfat filesystem on disk "too-small-partition"
+ And I plug USB drive "too-small-partition"
+ When I start Tails Installer
+ Then I am told by Tails Installer that I "need to use a downloaded Tails ISO image"
+
Scenario: Installing an old version of Tails to a pristine USB drive
Given a computer
And the computer is set to boot from the old Tails DVD