Skip to content
GitLab
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
b6984aec
Commit
b6984aec
authored
Jan 13, 2019
by
Cyril 'kibi' Brulebois
Browse files
Test suite: make it possible to write an old version of Tails ISO/USB image (refs:
#16004
).
parent
3a3b130c
Changes
1
Hide whitespace changes
Inline
Side-by-side
features/step_definitions/untrusted_partitions.rb
View file @
b6984aec
...
...
@@ -29,9 +29,10 @@ Given /^I create an?( (\d+) ([[:alpha:]]+))? ([[:alnum:]]+) partition( labeled "
$vm
.
storage
.
disk_mkpartfs
(
name
,
parttype
,
fstype
,
opts
)
end
Given
/^I write the Tails (ISO|USB) image to disk "([^"]+)"$/
do
|
type
,
name
|
Given
/^I write
(|an old version of )
the Tails (ISO|USB) image to disk "([^"]+)"$/
do
|
old
,
type
,
name
|
src_disk
=
{
:path
=>
(
type
==
'ISO'
?
TAILS_ISO
:
TAILS_IMG
),
:path
=>
(
old
==
''
?
(
type
==
'ISO'
?
TAILS_ISO
:
TAILS_IMG
)
:
(
type
==
'ISO'
?
OLD_TAILS_ISO
:
OLD_TAILS_IMG
)),
:opts
=>
{
:format
=>
"raw"
,
:readonly
=>
true
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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