Changeset 28fc74b in mod_gnutls for test


Ignore:
Timestamp:
Mar 11, 2016, 3:25:27 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
42bee37, c6cfe6e
Parents:
5725dca
Message:

Capture full gnutls-cli output in test logs

Copying instead of redirecting keeps stdout and stderr from gnutls-cli
together, and should also make debugging easier when the output files
are not available (e.g. from Debian build servers).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/runtests

    r5725dca r28fc74b  
    201201           run_with_pidfile "${sleep_pidfile}" sleep "${TEST_QUERY_DELAY}" &) | \
    202202       gnutls-cli -p "${TEST_PORT}" $(cat ${t}/gnutls-cli.args) "${TEST_HOST}" \
    203                   >"$output";
     203       | tee "$output" && test "${PIPESTATUS[1]}" -eq 0;
    204204then
    205205    if [ -e ${t}/fail* ]; then
Note: See TracChangeset for help on using the changeset viewer.