time_syncing.feature 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. @product @check_tor_leaks
  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
  6. Scenario: Clock with host's time
  7. Given I have started Tails from DVD without network and logged in
  8. When the network is plugged
  9. And Tor is ready
  10. Then Tails clock is less than 5 minutes incorrect
  11. #11589
  12. @fragile
  13. Scenario: Clock with host's time in bridge mode
  14. Given I have started Tails from DVD without network and logged in with bridge mode enabled
  15. When the network is plugged
  16. And the Tor Launcher autostarts
  17. And I configure some bridge pluggable transports in Tor Launcher
  18. And Tor is ready
  19. Then Tails clock is less than 5 minutes incorrect
  20. Scenario: The system time is not synced to the hardware clock
  21. Given I have started Tails from DVD without network and logged in
  22. When I bump the system time with "-15 days"
  23. And I warm reboot the computer
  24. And the computer reboots Tails
  25. Then Tails' hardware clock is close to the host system's time
  26. Scenario: Anti-test: Changes to the hardware clock are kept when rebooting
  27. Given I have started Tails from DVD without network and logged in
  28. When I bump the hardware clock's time with "-15 days"
  29. And I warm reboot the computer
  30. And the computer reboots Tails
  31. Then the hardware clock is still off by "-15 days"
  32. Scenario: Boot with a hardware clock set way in the past and make sure that Tails sets the clock to the build date
  33. Given a computer
  34. And the network is unplugged
  35. And the hardware clock is set to "01 Jan 2000 12:34:56"
  36. And I start the computer
  37. And the computer boots Tails
  38. Then the system clock is just past Tails' build date