source: mod_gnutls/test/test-14_resume_session.bash @ 05984a0

proxy-ticket
Last change on this file since 05984a0 was 05984a0, checked in by Fiona Klute <fiona.klute@…>, 7 months ago

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.

  • Property mode set to 100755
File size: 434 bytes
Line 
1#!/bin/bash
2set -e
3log="outputs/14_resume_session.log"
4
5${srcdir}/netns_py.bash ${srcdir}/runtest.py --test-number 14 \
6        --log-connection "${log}"
7
8echo "Checking if the session was resumed successfully..."
9# NOTE: The "Resume Handshake was completed" message appears after the
10# second handshake is complete, whether the session has been resumed
11# or not. The following message is required!
12grep "This is a resumed session" "${log}"
Note: See TracBrowser for help on using the repository browser.