source: mod_gnutls/test/test-14_resume_session.bash

mod_gnutls/0.9.1
Last change on this file was 1754503, checked in by Fiona Klute <fiona.klute@…>, 15 months ago

Test suite: Enable session tickets for session resumption test

TLS 1.3 supports resumption with session tickets only, so they must be
enabled here. Commit 514d4d69915bdb38ddb0a75ac5306317a4ade89b added a
bug that broke the check for resumption, add a comment to avoid
repeating that mistake.

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