summaryrefslogtreecommitdiffstats
path: root/features/time_syncing.feature
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2014-12-19 00:40:08 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-21 09:45:40 +0100
commit51680b6ebb645d37ebdfcd122ca163b3a638aefa (patch)
tree337e128d2eac3cbc89ecbacf38851bfa33469cd5 /features/time_syncing.feature
parent44bab3c86ca3d95837f4c50cc535206352385a46 (diff)
downloadjenkins.debian.net-51680b6ebb645d37ebdfcd122ca163b3a638aefa.tar.xz
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
Diffstat (limited to 'features/time_syncing.feature')
-rw-r--r--features/time_syncing.feature41
1 files changed, 41 insertions, 0 deletions
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.