4 I want Tor to work properly
5 And for that I need a reasonably accurate system clock
9 And the network is unplugged
10 And I start the computer
11 And the computer boots Tails
12 And I log in to a new session
14 And I save the state so the background can be restored next scenario
16 Scenario: Clock with host's time
17 When the network is plugged
18 And I have a network connection
19 And Tor has built a circuit
20 And the time has synced
21 Then Tails clock is less than 5 minutes incorrect
23 Scenario: Clock is one day in the past
24 When I bump the system time with "-1 day"
25 And the network is plugged
26 And I have a network connection
27 And Tor has built a circuit
28 And the time has synced
29 Then Tails clock is less than 5 minutes incorrect
31 Scenario: Clock way in the past
32 When I set the system time to "01 Jan 2000 12:34:56"
33 And the network is plugged
34 And I have a network connection
35 And Tor has built a circuit
36 And the time has synced
37 Then Tails clock is less than 5 minutes incorrect
39 Scenario: Clock is one day in the future
40 When I bump the system time with "+1 day"
41 And the network is plugged
42 And I have a network connection
43 And Tor has built a circuit
44 And the time has synced
45 Then Tails clock is less than 5 minutes incorrect
47 Scenario: Clock way in the future
48 When I set the system time to "01 Jan 2020 12:34:56"
49 And the network is plugged
50 And I have a network connection
51 And Tor has built a circuit
52 And the time has synced
53 Then Tails clock is less than 5 minutes incorrect
55 # Scenario: Clock vs Tor consensus' valid-{after,until} etc.