source: mod_gnutls/test/test-28_HTTP2_support.bash @ 3deb86e

proxy-ticket
Last change on this file since 3deb86e was 0f65ea9, checked in by Fiona Klute <fiona.klute@…>, 11 months ago

Use post_check hook in 28_HTTP2_support

  • Property mode set to 100755
File size: 454 bytes
Line 
1#!/bin/bash
2#
3# Check if HTTP/2 connections using mod_gnutls and mod_http2 work
4
5set -e
6
7if [ ! -r ${AP_LIBEXECDIR}/mod_http2.so ]; then
8    echo "mod_http2.so not found, skipping." 2>&1
9    exit 77
10elif [ "$(basename ${HTTP_CLI})" != "curl" ] \
11       || ! ${HTTP_CLI} -V | grep -P '\sHTTP2($|\s)'; then
12    echo "Curl not found or does not support HTTP/2, skipping." 2>&1
13    exit 77
14fi
15
16. ${srcdir}/netns_py.bash ${srcdir}/runtest.py --test-number 28
Note: See TracBrowser for help on using the repository browser.