QA:Testcase torsocks

From FedoraProject

Revision as of 15:15, 5 March 2013 by Jamielinux (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



This testcase will check whether Tor can communicate with the Tor network and allow torsocks to proxy connections to the Tor SOCKS port.


  1. Ensure the Package-x-generic-16.pngtor and Package-x-generic-16.pngwget packages are installed.
  2. The /etc/tor/torrc configuration file should be the default one included with the package.

How to test

sudo systemctl start tor.service
wget -O before.html
torsocks wget -O after.html

Expected Results

  1. The file before.html should contain the string: Sorry. You are not using Tor.
  2. The file after.html should contain the string: Congratulations. Your browser is configured to use Tor.