Merge remote-tracking branch 'muri/de-doc-first_steps-persistence'
[tails/matsa.git] / features / checks.feature
blob277bdb99ef8130184d5e72e39afb3a554d5bee00
1 @product
2 Feature: Various checks
4   Background:
5     Given a computer
6     And I start Tails from DVD with network unplugged and I login
7     And I save the state so the background can be restored next scenario
9   Scenario: AppArmor is enabled and has enforced profiles
10     Then AppArmor is enabled
11     And some AppArmor profiles are enforced
13   Scenario: VirtualBox guest modules are available
14     When Tails has booted a 64-bit kernel
15     Then the VirtualBox guest modules are available
17    Scenario: The shipped Tails signing key is up-to-date
18     Given the network is plugged
19     And Tor is ready
20     And all notifications have disappeared
21     Then the shipped Tails signing key is not outdated
23   Scenario: The live user is setup correctly
24     Then the live user has been setup by live-boot
25     And the live user is a member of only its own group and "audio cdrom dialout floppy video plugdev netdev fuse scanner lp lpadmin vboxsf"
26     And the live user owns its home dir and it has normal permissions
28   Scenario: No initial network
29     Given I wait between 30 and 60 seconds
30     When the network is plugged
31     And Tor is ready
32     And all notifications have disappeared
33     And the time has synced
34     And process "vidalia" is running within 30 seconds
36   Scenario: No unexpected network services
37     When the network is plugged
38     And Tor is ready
39     Then no unexpected services are listening for network connections
41   Scenario: The emergency shutdown applet can shutdown Tails
42     When I request a shutdown using the emergency shutdown applet
43     Then Tails eventually shuts down
45   Scenario: The emergency shutdown applet can reboot Tails
46     When I request a reboot using the emergency shutdown applet
47     Then Tails eventually restarts
49   # We ditch the background snapshot for this scenario since we cannot
50   # add a filesystem share to a live VM so it would have to be in the
51   # background above. However, there's a bug that seems to make shares
52   # impossible to have after a snapshot restore.
53   Scenario: MAT can clean a PDF file
54     Given a computer
55     And I setup a filesystem share containing a sample PDF
56     And I start Tails from DVD with network unplugged and I login
57     Then MAT can clean some sample PDF file