blob: b40ca93bb02779d68f80d6f85b5f9276473288c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
|
@product @old_iso
Feature: Installing Tails to a USB drive, upgrading it, and using persistence
As a Tails user
I may want to install Tails to a USB drive
and upgrade it to new Tails versions
and use persistence
@keep_volumes
Scenario: Installing Tails to a pristine USB drive
Given a computer
And I start Tails from DVD with network unplugged and I login
And I create a new 4 GiB USB drive named "current"
And I plug USB drive "current"
And I "Clone & Install" Tails to USB drive "current"
Then the running Tails is installed on USB drive "current"
But there is no persistence partition on USB drive "current"
And I unplug USB drive "current"
@keep_volumes
Scenario: Booting Tails from a USB drive in UEFI mode
Given a computer
And the computer is set to boot in UEFI mode
When I start Tails from USB drive "current" with network unplugged and I login
Then the boot device has safe access rights
And Tails is running from USB drive "current"
And the boot device has safe access rights
And Tails has started in UEFI mode
@keep_volumes
Scenario: Booting Tails from a USB drive without a persistent partition and creating one
Given a computer
And I start Tails from USB drive "current" with network unplugged and I login
Then the boot device has safe access rights
And Tails is running from USB drive "current"
And the boot device has safe access rights
And there is no persistence partition on USB drive "current"
And I create a persistent partition with password "asdf"
Then a Tails persistence partition with password "asdf" exists on USB drive "current"
And I shutdown Tails and wait for the computer to power off
@keep_volumes
Scenario: Booting Tails from a USB drive with a disabled persistent partition
Given a computer
And I start Tails from USB drive "current" with network unplugged and I login
Then Tails is running from USB drive "current"
And the boot device has safe access rights
And persistence is disabled
But a Tails persistence partition with password "asdf" exists on USB drive "current"
@keep_volumes
Scenario: Persistent browser bookmarks
Given a computer
And the computer is set to boot from USB drive "current"
And the network is unplugged
When I start the computer
And the computer boots Tails
And Tails is running from USB drive "current"
And the boot device has safe access rights
And I enable persistence with password "asdf"
And I log in to a new session
And GNOME has started
And all notifications have disappeared
And persistence is enabled
And persistent filesystems have safe access rights
And persistence configuration files have safe access rights
And persistent directories have safe access rights
And I start the Tor Browser in offline mode
And the Tor Browser has started in offline mode
And I add a bookmark to eff.org in the Tor Browser
And I warm reboot the computer
And the computer reboots Tails
And I enable read-only persistence with password "asdf"
And I log in to a new session
And GNOME has started
And I start the Tor Browser in offline mode
And the Tor Browser has started in offline mode
Then the Tor Browser has a bookmark to eff.org
@keep_volumes
Scenario: Writing files to a read/write-enabled persistent partition
Given a computer
And I start Tails from USB drive "current" with network unplugged and I login with persistence password "asdf"
Then Tails is running from USB drive "current"
And the boot device has safe access rights
And persistence is enabled
And I write some files expected to persist
And persistent filesystems have safe access rights
And persistence configuration files have safe access rights
And persistent directories have safe access rights
And I shutdown Tails and wait for the computer to power off
Then only the expected files should persist on USB drive "current"
@keep_volumes
Scenario: Writing files to a read-only-enabled persistent partition
Given a computer
And I start Tails from USB drive "current" with network unplugged and I login with read-only persistence password "asdf"
Then Tails is running from USB drive "current"
And the boot device has safe access rights
And persistence is enabled
And I write some files not expected to persist
And I remove some files expected to persist
And I shutdown Tails and wait for the computer to power off
Then only the expected files should persist on USB drive "current"
@keep_volumes
Scenario: Deleting a Tails persistent partition
Given a computer
And I start Tails from USB drive "current" with network unplugged and I login
Then Tails is running from USB drive "current"
And the boot device has safe access rights
And persistence is disabled
But a Tails persistence partition with password "asdf" exists on USB drive "current"
And all notifications have disappeared
When I delete the persistent partition
Then there is no persistence partition on USB drive "current"
@keep_volumes
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
And the network is unplugged
And I start the computer
When the computer boots Tails
And I log in to a new session
And GNOME has started
And all notifications have disappeared
And I create a new 4 GiB USB drive named "old"
And I plug USB drive "old"
And I "Clone & Install" Tails to USB drive "old"
Then the running Tails is installed on USB drive "old"
But there is no persistence partition on USB drive "old"
And I unplug USB drive "old"
@keep_volumes
Scenario: Creating a persistent partition with the old Tails USB installation
Given a computer
And I start Tails from USB drive "old" with network unplugged and I login
Then Tails is running from USB drive "old"
And I create a persistent partition with password "asdf"
Then a Tails persistence partition with password "asdf" exists on USB drive "old"
And I shutdown Tails and wait for the computer to power off
@keep_volumes
Scenario: Writing files to a read/write-enabled persistent partition with the old Tails USB installation
Given a computer
And I start Tails from USB drive "old" with network unplugged and I login with persistence password "asdf"
Then Tails is running from USB drive "old"
And persistence is enabled
And I write some files expected to persist
And persistent filesystems have safe access rights
And persistence configuration files have safe access rights
And persistent directories have safe access rights
And I shutdown Tails and wait for the computer to power off
Then only the expected files should persist on USB drive "old"
@keep_volumes
Scenario: Upgrading an old Tails USB installation from a Tails DVD
Given a computer
And I clone USB drive "old" to a new USB drive "to_upgrade"
And I start Tails from DVD with network unplugged and I login
And I plug USB drive "to_upgrade"
And I "Clone & Upgrade" Tails to USB drive "to_upgrade"
Then the running Tails is installed on USB drive "to_upgrade"
And I unplug USB drive "to_upgrade"
@keep_volumes
Scenario: Booting Tails from a USB drive upgraded from DVD with persistence enabled
Given a computer
And I start Tails from USB drive "to_upgrade" with network unplugged and I login with persistence password "asdf"
Then Tails is running from USB drive "to_upgrade"
And the boot device has safe access rights
And the expected persistent files are present in the filesystem
And persistent directories have safe access rights
@keep_volumes
Scenario: Upgrading an old Tails USB installation from another Tails USB drive
Given a computer
And I clone USB drive "old" to a new USB drive "to_upgrade"
And I start Tails from USB drive "current" with network unplugged and I login
Then Tails is running from USB drive "current"
And the boot device has safe access rights
And I plug USB drive "to_upgrade"
And I "Clone & Upgrade" Tails to USB drive "to_upgrade"
Then the running Tails is installed on USB drive "to_upgrade"
And I unplug USB drive "to_upgrade"
And I unplug USB drive "current"
@keep_volumes
Scenario: Booting Tails from a USB drive upgraded from USB with persistence enabled
Given a computer
And I start Tails from USB drive "to_upgrade" with network unplugged and I login with persistence password "asdf"
Then persistence is enabled
And Tails is running from USB drive "to_upgrade"
And the boot device has safe access rights
And the expected persistent files are present in the filesystem
And persistent directories have safe access rights
@keep_volumes
Scenario: Upgrading an old Tails USB installation from an ISO image, running on the old version
Given a computer
And I clone USB drive "old" to a new USB drive "to_upgrade"
And I setup a filesystem share containing the Tails ISO
When I start Tails from USB drive "old" with network unplugged and I login
And I plug USB drive "to_upgrade"
And I do a "Upgrade from ISO" on USB drive "to_upgrade"
Then the ISO's Tails is installed on USB drive "to_upgrade"
And I unplug USB drive "to_upgrade"
@keep_volumes
Scenario: Upgrading an old Tails USB installation from an ISO image, running on the new version
Given a computer
And I clone USB drive "old" to a new USB drive "to_upgrade"
And I setup a filesystem share containing the Tails ISO
And I start Tails from DVD with network unplugged and I login
And I plug USB drive "to_upgrade"
And I do a "Upgrade from ISO" on USB drive "to_upgrade"
Then the ISO's Tails is installed on USB drive "to_upgrade"
And I unplug USB drive "to_upgrade"
Scenario: Booting a USB drive upgraded from ISO with persistence enabled
Given a computer
And I start Tails from USB drive "to_upgrade" with network unplugged and I login with persistence password "asdf"
Then persistence is enabled
And Tails is running from USB drive "to_upgrade"
And the boot device has safe access rights
And the expected persistent files are present in the filesystem
And persistent directories have safe access rights
@keep_volumes
Scenario: Installing Tails to a USB drive with an MBR partition table but no partitions
Given a computer
And I create a 4 GiB disk named "mbr"
And I create a msdos label on disk "mbr"
And I start Tails from DVD with network unplugged and I login
And I plug USB drive "mbr"
And I "Clone & Install" Tails to USB drive "mbr"
Then the running Tails is installed on USB drive "mbr"
But there is no persistence partition on USB drive "mbr"
And I unplug USB drive "mbr"
Scenario: Booting a USB drive that originally had an empty MBR partition table
Given a computer
And I start Tails from USB drive "mbr" with network unplugged and I login
Then Tails is running from USB drive "mbr"
And the boot device has safe access rights
And there is no persistence partition on USB drive "mbr"
@keep_volumes
Scenario: Cat:ing a Tails isohybrid to a USB drive and booting it
Given a computer
And I create a 4 GiB disk named "isohybrid"
And I cat an ISO hybrid of the Tails image to disk "isohybrid"
And I start Tails from USB drive "isohybrid" with network unplugged and I login
Then Tails is running from USB drive "isohybrid"
@keep_volumes
Scenario: Try upgrading but end up installing Tails to a USB drive containing a Tails isohybrid installation
Given a computer
And I start Tails from DVD with network unplugged and I login
And I plug USB drive "isohybrid"
And I try a "Clone & Upgrade" Tails to USB drive "isohybrid"
But I am suggested to do a "Clone & Install"
And I kill the process "liveusb-creator"
And I "Clone & Install" Tails to USB drive "isohybrid"
Then the running Tails is installed on USB drive "isohybrid"
But there is no persistence partition on USB drive "isohybrid"
And I unplug USB drive "isohybrid"
Scenario: Booting a USB drive that originally had a isohybrid installation
Given a computer
And I start Tails from USB drive "isohybrid" with network unplugged and I login
Then Tails is running from USB drive "isohybrid"
And the boot device has safe access rights
And there is no persistence partition on USB drive "isohybrid"
|