Commit 919d9491 authored by Cyril Brulebois's avatar Cyril Brulebois

Test suite: make usb-install-tails-greeter use the Tails USB image (refs: #16004).

Let's optimize the test suite by installing the Tails USB image directly,
instead of doing the cloning dance. Remove the parent snapshot accordingly,
as there's no need to be running Tails in the first place anymore.

The Tails USB image could be trusted not to have any persistence
partition but let's keep that check anyway; that's part of a checkpoint.

The (absence of) persistence check used to appear twice; get rid of the
first instance as that one was performed after cloning, with a computer
that was still running. Keep the second one only, which happens after
the just installed system has booted.
parent 64d58e43
......@@ -64,14 +64,11 @@ def checkpoints
'usb-install-tails-greeter' => {
:description => "I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen",
:parent_checkpoint => 'no-network-logged-in',
:parent_checkpoint => nil,
:steps => [
'I create a 7200 MiB disk named "__internal"',
'I plug USB drive "__internal"',
'I install Tails to USB drive "__internal" by cloning',
'the running Tails is installed on USB drive "__internal"',
'there is no persistence partition on USB drive "__internal"',
'I shutdown Tails and wait for the computer to power off',
'I write the Tails USB image to disk "__internal"',
'I start Tails from USB drive "__internal" with network unplugged',
'the boot device has safe access rights',
'Tails is running from USB drive "__internal"',
......
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