Merge remote-tracking branch 'flapflap/de-network_configuration'
[tails-test.git] / features / time_syncing.feature
bloba32d5a70f4e088dd27f6f779af5c986939290094
1 @product
2 Feature: Time syncing
3   As a Tails user
4   I want Tor to work properly
5   And for that I need a reasonably accurate system clock
7   Background:
8     Given a computer
9     And I start Tails from DVD with network unplugged and I login
10     And I save the state so the background can be restored next scenario
12   Scenario: Clock with host's time
13     When the network is plugged
14     And Tor is ready
15     Then Tails clock is less than 5 minutes incorrect
17   Scenario: Clock is one day in the past
18     When I bump the system time with "-1 day"
19     And the network is plugged
20     And Tor is ready
21     Then Tails clock is less than 5 minutes incorrect
23   Scenario: Clock way in the past
24     When I set the system time to "01 Jan 2000 12:34:56"
25     And the network is plugged
26     And Tor is ready
27     Then Tails clock is less than 5 minutes incorrect
29   Scenario: Clock is one day in the future
30     When I bump the system time with "+1 day"
31     And the network is plugged
32     And Tor is ready
33     Then Tails clock is less than 5 minutes incorrect
35   Scenario: Clock way in the future
36     When I set the system time to "01 Jan 2020 12:34:56"
37     And the network is plugged
38     And Tor is ready
39     Then Tails clock is less than 5 minutes incorrect
41 #  Scenario: Clock vs Tor consensus' valid-{after,until} etc.