From 51680b6ebb645d37ebdfcd122ca163b3a638aefa Mon Sep 17 00:00:00 2001 From: Tails developers Date: Fri, 19 Dec 2014 00:40:08 +0100 Subject: files copied from https://git-tails.immerda.ch/tails - many thanks to the tails developers for their nice work and documentation of it - these files have been released under the GNU General Public License version 3 or (at your option) any later version features/images has been omitted --- features/time_syncing.feature | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 features/time_syncing.feature (limited to 'features/time_syncing.feature') diff --git a/features/time_syncing.feature b/features/time_syncing.feature new file mode 100644 index 00000000..a32d5a70 --- /dev/null +++ b/features/time_syncing.feature @@ -0,0 +1,41 @@ +@product +Feature: Time syncing + As a Tails user + I want Tor to work properly + And for that I need a reasonably accurate system clock + + Background: + Given a computer + And I start Tails from DVD with network unplugged and I login + And I save the state so the background can be restored next scenario + + Scenario: Clock with host's time + When the network is plugged + And Tor is ready + Then Tails clock is less than 5 minutes incorrect + + Scenario: Clock is one day in the past + When I bump the system time with "-1 day" + And the network is plugged + And Tor is ready + Then Tails clock is less than 5 minutes incorrect + + Scenario: Clock way in the past + When I set the system time to "01 Jan 2000 12:34:56" + And the network is plugged + And Tor is ready + Then Tails clock is less than 5 minutes incorrect + + Scenario: Clock is one day in the future + When I bump the system time with "+1 day" + And the network is plugged + And Tor is ready + Then Tails clock is less than 5 minutes incorrect + + Scenario: Clock way in the future + When I set the system time to "01 Jan 2020 12:34:56" + And the network is plugged + And Tor is ready + Then Tails clock is less than 5 minutes incorrect + +# Scenario: Clock vs Tor consensus' valid-{after,until} etc. -- cgit v1.2.3-70-g09d2