torified_misc.feature 1.05 KB
Newer Older
bertagaz's avatar
bertagaz committed
1
@product @check_tor_leaks @fragile
2
3
4
Feature: Various checks for torified software

  Background:
5
    Given I have started Tails from DVD and logged in and the network is connected
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

  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"