source: mod_gnutls/test/test-14_resume_session.bash @ 13870b7

debian/masterproxy-ticket
Last change on this file since 13870b7 was 13870b7, checked in by Fiona Klute <fiona.klute@…>, 2 years ago

test-14_resume_session.bash: Check if the session was resumed successfully

If resumption is not possible but a second full handshake works,
gnutls-cli --resume still returns 0. This is correct behavior as a TLS
client, but a successful resumption test requires resumption.

  • Property mode set to 100755
File size: 210 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..."
8grep "This is a resumed session" "${output}"
Note: See TracBrowser for help on using the repository browser.