Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
02633734
Commit
02633734
authored
Nov 25, 2015
by
intrigeri
Browse files
Test suite: move upgrade scenarios to the feature dedicated to them.
parent
67fc644c
Changes
2
Hide whitespace changes
Inline
Side-by-side
features/usb_install.feature
View file @
02633734
...
@@ -3,44 +3,6 @@ Feature: Installing Tails to a USB drive
...
@@ -3,44 +3,6 @@ Feature: Installing Tails to a USB drive
As a Tails user
As a Tails user
I want to install Tails to a suitable USB drive
I want to install Tails to a suitable USB drive
Scenario
:
Try to "Upgrade from ISO" Tails to a pristine USB drive
Given
a computer
And
I setup a filesystem share containing the Tails ISO
And
I start Tails from DVD with network unplugged and I login
And
I temporarily create a 4 GiB disk named
"pristine"
And
I plug USB drive
"pristine"
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Clone & Upgrade" Tails to a pristine USB drive
Given
I have started Tails from DVD without network and logged in
And
I temporarily create a 4 GiB disk named
"pristine"
And
I plug USB drive
"pristine"
And
I start Tails Installer in
"Clone & Upgrade"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Upgrade from ISO" Tails to a USB drive with GPT and a FAT partition
Given
a computer
And
I setup a filesystem share containing the Tails ISO
And
I start Tails from DVD with network unplugged and I login
And
I temporarily create a 4 GiB disk named
"gptfat"
And
I create a gpt partition with a vfat filesystem on disk
"gptfat"
And
I plug USB drive
"gptfat"
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Clone & Upgrade" Tails to a USB drive with GPT and a FAT partition
Given
I have started Tails from DVD without network and logged in
And
I temporarily create a 4 GiB disk named
"gptfat"
And
I create a gpt partition with a vfat filesystem on disk
"gptfat"
And
I plug USB drive
"gptfat"
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try installing Tails to a too small USB drive
Scenario
:
Try installing Tails to a too small USB drive
Given
I have started Tails from DVD without network and logged in
Given
I have started Tails from DVD without network and logged in
And
I temporarily create a 2 GiB disk named
"too-small-device"
And
I temporarily create a 2 GiB disk named
"too-small-device"
...
...
features/usb_upgrade.feature
View file @
02633734
...
@@ -10,6 +10,44 @@ Feature: Upgrading an old Tails USB installation
...
@@ -10,6 +10,44 @@ Feature: Upgrading an old Tails USB installation
# other. When editing this feature, make sure you understand these
# other. When editing this feature, make sure you understand these
# dependencies (which are documented below).
# dependencies (which are documented below).
Scenario
:
Try to "Upgrade from ISO" Tails to a pristine USB drive
Given
a computer
And
I setup a filesystem share containing the Tails ISO
And
I start Tails from DVD with network unplugged and I login
And
I temporarily create a 4 GiB disk named
"pristine"
And
I plug USB drive
"pristine"
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Clone & Upgrade" Tails to a pristine USB drive
Given
I have started Tails from DVD without network and logged in
And
I temporarily create a 4 GiB disk named
"pristine"
And
I plug USB drive
"pristine"
And
I start Tails Installer in
"Clone & Upgrade"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Upgrade from ISO" Tails to a USB drive with GPT and a FAT partition
Given
a computer
And
I setup a filesystem share containing the Tails ISO
And
I start Tails from DVD with network unplugged and I login
And
I temporarily create a 4 GiB disk named
"gptfat"
And
I create a gpt partition with a vfat filesystem on disk
"gptfat"
And
I plug USB drive
"gptfat"
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Clone & Upgrade" Tails to a USB drive with GPT and a FAT partition
Given
I have started Tails from DVD without network and logged in
And
I temporarily create a 4 GiB disk named
"gptfat"
And
I create a gpt partition with a vfat filesystem on disk
"gptfat"
And
I plug USB drive
"gptfat"
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Installing an old version of Tails to a pristine USB drive
Scenario
:
Installing an old version of Tails to a pristine USB drive
Given
a computer
Given
a computer
And
the computer is set to boot from the old Tails DVD
And
the computer is set to boot from the old Tails DVD
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment