Changeset 26081ce in mod_gnutls for test/README


Ignore:
Timestamp:
Jul 8, 2015, 3:29:58 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
4038c7a
Parents:
90a31a4
git-author:
Thomas Klute <thomas2.klute@…> (07/08/15 15:03:54)
git-committer:
Thomas Klute <thomas2.klute@…> (07/08/15 15:29:58)
Message:

Test suite: Make TEST_HOST and TEST_IP configurable through ./configure

The default settings in the test suite assume that "localhost" resolves
to the IPv6 loopback address. Depending on the local system
configuration this may be incorrect, so allow the user to pass their own
TEST_HOST and TEST_IP to ./configure, e.g. to use IPv4:

TEST_HOST="localhost" TEST_IP="127.0.0.1" ./configure

Note that changing TEST_HOST requires rebuilding the certificates, just
run "make mostlyclean" before the next test run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/README

    r90a31a4 r26081ce  
    22==================================
    33
    4 Initial Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
     4Authors: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
     5         Thomas Klute <thomas2.klute@uni-dortmund.de>
    56
    67There are a lot of ways that a TLS-capable web server can go wrong.  I
     
    2425test and don't want to wait for the full test suite to run.
    2526
     27The default configuration assumes that an IPv6 loopback device is
     28available (TEST_IP=[::1]) and that TEST_HOST="localhost" resolves to
     29the IPv6 loopback address [::1]. If this does not apply to your
     30system, you can pass different values to ./configure, e.g. to use IPv4
     31instead:
     32
     33  TEST_HOST="localhost" TEST_IP="127.0.0.1" ./configure
    2634
    2735Adding a Test
     
    8189check" to adjust them):
    8290
    83  * they need a functioning loopback device and expect (by default) to
    84    have IPv6 functionality. [TEST_IP]
     91 * they need a functioning loopback device.
    8592
    86  * they expect (by default) the IPv6 loopback to have port 9932
     93 * they expect (by default) the TEST_IP to have port 9932
    8794   open. [TEST_PORT]
    8895
     
    9198   reasons. [TEST_QUERY_DELAY (seconds for the http request to be sent
    9299   and responded to)] and [TEST_GAP (seconds to wait between tests)]
    93 
    94  * they assume that the name "localhost" is associated with the IPv6
    95    loopback address [TEST_HOST]
Note: See TracChangeset for help on using the changeset viewer.