Commit b6984aec authored by Cyril Brulebois's avatar Cyril Brulebois

Test suite: make it possible to write an old version of Tails ISO/USB image (refs: #16004).

parent 3a3b130c
......@@ -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
......
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