Changeset 6c030c1 in mod_gnutls for test/runtests


Ignore:
Timestamp:
Feb 6, 2017, 12:05:25 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
4ae5b82
Parents:
bbfcbb5
Message:

Test suite: Make timeouts for server locks and HTTPS requests configurable

If TEST_LOCK_WAIT or TEST_QUERY_TIMEOUT are provided at configure
time, their values are stored and used instead of the default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/runtests

    rbbfcbb5 r6c030c1  
    1919
    2020BADVARS=0
    21 for v in APACHE2 TEST_HOST TEST_PORT TEST_QUERY_DELAY TEST_MSVA_WAIT \
     21for v in APACHE2 TEST_HOST TEST_PORT TEST_QUERY_TIMEOUT TEST_MSVA_WAIT \
    2222                 MSVA_PORT; do
    2323    if [ ! -v "$v" ]; then
     
    217217# the line ends in the input file.
    218218if (sed -r "s/__HOSTNAME__/${TEST_HOST}/;s/\r?$/\r/" <${t}/input && \
    219            run_with_pidfile "${sleep_pidfile}" sleep "${TEST_QUERY_DELAY}" &) | \
     219           run_with_pidfile "${sleep_pidfile}" sleep "${TEST_QUERY_TIMEOUT}" &) | \
    220220       gnutls-cli -p "${TEST_PORT}" $(cat ${t}/gnutls-cli.args) "${TEST_HOST}" \
    221221       | tee "$output" && test "${PIPESTATUS[1]}" -eq 0;
Note: See TracChangeset for help on using the changeset viewer.