diff --git a/docs/running_tests.rst b/docs/running_tests.rst index 550ecd886..61a7b40d6 100644 --- a/docs/running_tests.rst +++ b/docs/running_tests.rst @@ -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/ -