Changeset 05984a0 in mod_gnutls for test/test-14_resume_session.bash


Ignore:
Timestamp:
Dec 26, 2019, 3:47:10 AM (7 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
0909c92
Parents:
006f91a
git-author:
Fiona Klute <fiona.klute@…> (12/26/19 03:38:34)
git-committer:
Fiona Klute <fiona.klute@…> (12/26/19 03:47:10)
Message:

Replace "runtests" with "runtest.py"

This is the next step from handling HTTP requests and responses in
Python. In particular error handling is a lot easier to do in Python
than using Bash trap functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-14_resume_session.bash

    r006f91a r05984a0  
    11#!/bin/bash
    22set -e
    3 ${srcdir}/runtests t-14
     3log="outputs/14_resume_session.log"
    44
    5 t="$(basename ${0} .bash)"
    6 output="outputs/${t#test-}.output"
     5${srcdir}/netns_py.bash ${srcdir}/runtest.py --test-number 14 \
     6        --log-connection "${log}"
     7
    78echo "Checking if the session was resumed successfully..."
    89# NOTE: The "Resume Handshake was completed" message appears after the
    910# second handshake is complete, whether the session has been resumed
    1011# or not. The following message is required!
    11 grep "This is a resumed session" "${output}"
     12grep "This is a resumed session" "${log}"
Note: See TracChangeset for help on using the changeset viewer.