Changeset 849b87e in mod_gnutls for test/test_ca.mk


Ignore:
Timestamp:
Oct 30, 2018, 3:35:21 PM (22 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
Children:
0062ede
Parents:
04753db8
Message:

Test suite: Add support for IP-based virtual hosts

  • Pass TEST_IP to the tests
  • Add IP addresses to the server certificate
  • Allow tests to access the server via an IP address instead of TEST_HOST
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_ca.mk

    r04753db8 r849b87e  
    1313                        -e s/__OCSP_PORT__/$(OCSP_PORT)/ $@; \
    1414        fi
     15        for i in $$(echo $(TEST_IP)); do \
     16                i="$${i%\]}"; \
     17                IP_ADDRS="$${IP_ADDRS}\nip_address = $${i#\[}"; \
     18        done; \
     19        sed -i -e "s,__IP_ADDRESSES__,$${IP_ADDRS}," $@
    1520
    1621%.uid: $(srcdir)/%.uid.in
Note: See TracChangeset for help on using the changeset viewer.