source: mod_gnutls/test/test-33_vhost_SNI_serveralias_missinghost.bash

mod_gnutls/0.9.1
Last change on this file was afebb9b, checked in by Krista Karppinen <krista.celestia@…>, 13 months ago

Add gnutls-cli version requirement to SNI tests

Since the --sni-hostname option doesn't exist in gnutls-cli client
versions prior to 3.5.12, skip the tests using it if an older version
(or no version) is encountered.

  • Property mode set to 100755
File size: 197 bytes
Line 
1#!/bin/bash
2set -e
3: ${srcdir:="."}
4. ${srcdir}/common.bash
5
6require_gnutls_cli 3.5.12 || (echo "Using --sni-hostname requires gnutls-cli version 3.5.12 or newer"; exit 77)
7${srcdir}/runtests t-33
Note: See TracBrowser for help on using the repository browser.