From: Tom Krizek Date: Wed, 30 Nov 2022 16:44:27 +0000 (+0100) Subject: Add libnghttp2 prerequisite for doth system test X-Git-Tag: v9.19.8~23^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5146046131ba1431be423343ff4721403914906;p=thirdparty%2Fbind9.git Add libnghttp2 prerequisite for doth system test While some of these tests are for DoT which doesn't require nghttp2, the server configs won't allow the server to start without nghttp2 support during compile time. It might be possible to split these tests into DoT and DoH and only require nghttp2 for DoH tests, but since almost all of our CI jobs are compiled with nghttp2, we wouldn't gain a lot of coverage, so it's probably not worth the effort. --- diff --git a/bin/tests/system/doth/prereq.sh b/bin/tests/system/doth/prereq.sh new file mode 100644 index 00000000000..36a8e3704b3 --- /dev/null +++ b/bin/tests/system/doth/prereq.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# Copyright (C) Internet Systems Consortium, Inc. ("ISC") +# +# SPDX-License-Identifier: MPL-2.0 +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, you can obtain one at https://mozilla.org/MPL/2.0/. +# +# See the COPYRIGHT file distributed with this work for additional +# information regarding copyright ownership. + +. ../conf.sh + +$FEATURETEST --with-libnghttp2 || { + echo_i "This test requires libnghttp2 support." >&2 + exit 255 +} +exit 0