remove outdated information from running_tests.rst

This commit is contained in:
Arvid Norberg 2013-08-18 17:33:26 +00:00
parent 6bd07fd65f
commit ecd5152687
1 changed files with 3 additions and 43 deletions

View File

@ -11,33 +11,12 @@ libtorrent manual
running and building tests
==========================
Some of the tests of libtorrent are not self contained. For instance, in
order to test the ``http_connection`` class in libtorrent, the test requires
lighty_. This document outlines the requirements of the tests as well as
describes how to set up your environment to be able to run them.
The tests for SOCKS and HTTP proxy relies on ``delegate`` being installed
to set up test proxies. This document outlines the requirements of the
tests as well as describes how to set up your environment to be able to run them.
.. _lighty: http://www.lighttpd.net
lighty
======
Download lighty_. I've tested with ``lighttpd-1.4.19``. If libtorrent is built
with SSL support (which it is by default), lighty needs SSL support as well.
To build lighty with SSL support do::
./configure --with-openssl
Followed by::
sudo make install
Make sure you have SSL support in lighty by running::
lighttpd -V
Which gives you a list of all enabled features.
delegate
========
@ -54,22 +33,3 @@ instance ``/bin``.
.. _`deletate's download page`: http://www.delegate.org/delegate/download/
OpenSSL
=======
In order to create an SSL certificate for lighty_, openssl is used. More
specifically, the following command is issued by the test to create the
certificate file::
echo -e "AU\ntest province\ntest city\ntest company\ntest department\n\
tester\ntest@test.com" | openssl req -new -x509 -keyout server.pem \
-out server.pem -days 365 -nodes
This will write ``server.pem`` which is referenced in the lighty
confiuration file.
OpenSSL comes installed with most Linux and BSD distros, including Mac OS X.
You can download it from `the openssl homepage`_.
.. _`the openssl homepage`: http://www.openssl.org/