summaryrefslogtreecommitdiffstats
path: root/features/torified_misc.feature
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-03-14 15:36:16 +0100
committerHolger Levsen <holger@layer-acht.org>2016-04-28 21:52:10 +0200
commitda080c472fc415b0ce918f4dd4a1ab143bb1bca4 (patch)
treebf63179f32f0eda0c2d5796e3e31c18c3c1185cf /features/torified_misc.feature
parent26a9e8ec2bcae03db4d663d87b44d8708d64fdc2 (diff)
downloadjenkins.debian.net-da080c472fc415b0ce918f4dd4a1ab143bb1bca4.tar.xz
rough attempt to grab the good cucumber bits from recent tails
Diffstat (limited to 'features/torified_misc.feature')
-rw-r--r--features/torified_misc.feature24
1 files changed, 24 insertions, 0 deletions
diff --git a/features/torified_misc.feature b/features/torified_misc.feature
new file mode 100644
index 00000000..75f3fd0b
--- /dev/null
+++ b/features/torified_misc.feature
@@ -0,0 +1,24 @@
+@product @check_tor_leaks @fragile
+Feature: Various checks for torified software
+
+ Background:
+ Given I have started Tails from DVD and logged in and the network is connected
+
+ Scenario: wget(1) should work for HTTP and go through Tor.
+ When I wget "http://example.com/" to stdout
+ Then the wget command is successful
+ And the wget standard output contains "Example Domain"
+
+ Scenario: wget(1) should work for HTTPS and go through Tor.
+ When I wget "https://example.com/" to stdout
+ Then the wget command is successful
+ And the wget standard output contains "Example Domain"
+
+ Scenario: wget(1) with tricky options should work for HTTP and go through Tor.
+ When I wget "http://195.154.14.189/tails/stable/" to stdout with the '--spider --header="Host: dl.amnesia.boum.org"' options
+ Then the wget command is successful
+
+ Scenario: whois(1) should work and go through Tor.
+ When I query the whois directory service for "torproject.org"
+ Then the whois command is successful
+ Then the whois standard output contains "The Tor Project"