Merge remote-tracking branch 'origin/master'
[tails.git] / features / apt.feature
blob6ae59c49e5232f976bee118f7b8272a597def121
1 @product
2 Feature: Installing packages through APT
3   As a Tails user
4   when I set an administration password in Tails Greeter
5   I should be able to install packages using APT and Synaptic
6   and all Internet traffic should flow only through Tor.
8   Scenario: APT sources are configured correctly
9     Given I have started Tails from DVD without network and logged in
10     Then the only hosts in APT sources are "vwakviie2ienjx6t.onion,sgvtcaew4bxjd7ln.onion,jenw7xbd6tf7vfhp.onion,sdscoq7snqtznauu.onion"
11     And no proposed-updates APT suite is enabled
13   @check_tor_leaks
14   Scenario: Install packages using apt
15     Given I have started Tails from DVD and logged in with an administration password and the network is connected
16     When I configure APT to use non-onion sources
17     And I update APT using apt
18     And I install "cowsay" using apt
19     Then the package "cowsay" is installed
21   #12586
22   @check_tor_leaks @fragile
23   Scenario: Install packages using Synaptic
24     Given I have started Tails from DVD and logged in with an administration password and the network is connected
25     When I configure APT to use non-onion sources
26     And I start Synaptic
27     And I update APT using Synaptic
28     When I install "cowsay" using Synaptic
29     Then the package "cowsay" is installed