Changeset baa0056 in mod_gnutls


Ignore:
Timestamp:
Jan 8, 2020, 3:39:14 PM (3 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, main, master, proxy-ticket
Children:
0f52d48
Parents:
9a48691
Message:

Test 30_ip_based_vhosts: Move to prepare_env hook

Location:
test
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • test/test-30_ip_based_vhosts.bash

    r9a48691 rbaa0056  
    11#!/bin/bash
    2 
    3 # Parse TEST_IP into an array
    4 declare -a addrs=(${TEST_IP})
    5 if [ ${#addrs[@]} -lt 2 ]; then
    6     echo "This test needs two or more IP addresses in TEST_IP," \
    7          "check ./configure options!"
    8     exit 77
    9 fi
    10 
    11 # The two virtual hosts have different IPs, so we can check if
    12 # selection without SNI works correctly. The request will go to the
    13 # second one.
    14 export VHOST1_IP="${addrs[0]}"
    15 export VHOST2_IP="${addrs[1]}"
    16 
    17 # gnutls-cli expects IPv6 addresses without enclosing brackets, remove
    18 # them
    19 TARGET_IP="${VHOST2_IP#\[}"
    20 TARGET_IP="${TARGET_IP%\]}"
    21 export TARGET_IP
    22 
    232. ${srcdir}/netns_py.bash ${srcdir}/runtest.py --test-number 30
  • test/tests/Makefile.am

    r9a48691 rbaa0056  
    3030        28_HTTP2_support/apache.conf 28_HTTP2_support/hooks.py \
    3131        29_force_handshake_vhost/apache.conf 29_force_handshake_vhost/test.yml \
    32         30_ip_based_vhosts/apache.conf 30_ip_based_vhosts/test.yml \
     32        30_ip_based_vhosts/apache.conf 30_ip_based_vhosts/hooks.py 30_ip_based_vhosts/test.yml \
    3333        31_vhost_SNI_serveralias_match/apache.conf 31_vhost_SNI_serveralias_match/test.yml \
    3434        32_vhost_SNI_serveralias_mismatch/apache.conf 32_vhost_SNI_serveralias_mismatch/test.yml \
Note: See TracChangeset for help on using the changeset viewer.