checks.feature 3.87 KB
Newer Older
1
@product
2
3
Feature: Various checks

4
  Scenario: AppArmor is enabled and has enforced profiles
5
    Given I have started Tails from DVD without network and logged in
6
7
8
    Then AppArmor is enabled
    And some AppArmor profiles are enforced

9
  Scenario: GNOME Screenshot has a sane default save directory
10
    Given I have started Tails from DVD without network and logged in
11
12
    Then GNOME Screenshot is configured to save files to the live user's home directory

13
  Scenario: GNOME Screenshot takes a screenshot when the PRINTSCREEN key is pressed
14
    Given I have started Tails from DVD without network and logged in
15
    And there is no screenshot in the live user's home directory
16
    When I press the "PRINTSCREEN" key
Tails developers's avatar
Tails developers committed
17
    Then a screenshot is saved to the live user's home directory
18

19
  Scenario: VirtualBox guest modules are available
20
    Given I have started Tails from DVD without network and logged in
21
    When Tails has booted a 64-bit kernel
22
23
    Then the VirtualBox guest modules are available

24
  @fragile
25
  Scenario: The shipped Tails OpenPGP keys are up-to-date
26
    Given I have started Tails from DVD without network and logged in
27
    Then the OpenPGP keys shipped with Tails will be valid for the next 3 months
28

29
  Scenario: The Tails Debian repository key is up-to-date
30
    Given I have started Tails from DVD without network and logged in
kytv's avatar
kytv committed
31
    Then the shipped Debian repository key will be valid for the next 3 months
32

bertagaz's avatar
bertagaz committed
33
  @doc @fragile
34
  Scenario: The "Report an Error" launcher will open the support documentation
35
    Given I have started Tails from DVD without network and logged in
36
    And the network is plugged
37
38
39
    And Tor is ready
    And all notifications have disappeared
    When I double-click the Report an Error launcher on the desktop
kytv's avatar
kytv committed
40
    Then the support documentation page opens in Tor Browser
41

42
  Scenario: The live user is setup correctly
43
    Given I have started Tails from DVD without network and logged in
44
    Then the live user has been setup by live-boot
45
    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"
46
47
    And the live user owns its home dir and it has normal permissions

bertagaz's avatar
bertagaz committed
48
  @fragile
49
  Scenario: No initial network
50
    Given I have started Tails from DVD without network and logged in
51
    And I wait between 30 and 60 seconds
52
    When the network is plugged
53
    And Tor is ready
54
    And all notifications have disappeared
55
    And the time has synced
56
    And process "vidalia" is running within 30 seconds
57

bertagaz's avatar
bertagaz committed
58
  @fragile
59
  Scenario: The 'Tor is ready' notification is shown when Tor has bootstrapped
60
    Given I have started Tails from DVD without network and logged in
61
    And the network is plugged
Tails developers's avatar
Tails developers committed
62
63
    When I see the 'Tor is ready' notification
    Then Tor is ready
64

bertagaz's avatar
bertagaz committed
65
  @fragile
66
  Scenario: The tor process should be confined with Seccomp
67
    Given I have started Tails from DVD without network and logged in
68
    And the network is plugged
69
    And Tor is ready
70
    Then the running process "tor" is confined with Seccomp in filter mode
71

bertagaz's avatar
bertagaz committed
72
  @fragile
73
  Scenario: No unexpected network services
74
    Given I have started Tails from DVD without network and logged in
75
    When the network is plugged
76
    And Tor is ready
77
78
    Then no unexpected services are listening for network connections

79
  Scenario: The emergency shutdown applet can shutdown Tails
80
    Given I have started Tails from DVD without network and logged in
81
82
83
84
    When I request a shutdown using the emergency shutdown applet
    Then Tails eventually shuts down

  Scenario: The emergency shutdown applet can reboot Tails
85
    Given I have started Tails from DVD without network and logged in
86
87
    When I request a reboot using the emergency shutdown applet
    Then Tails eventually restarts
88
89
90
91

  Scenario: tails-debugging-info does not leak information
    Given I have started Tails from DVD without network and logged in
    Then tails-debugging-info is not susceptible to symlink attacks