xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/tsiggss/prereq.sh (revision 9fd8799cb5ceb66c69f2eb1a6d26a1d587ba1f1e)
1#!/bin/sh
2#
3# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0. If a copy of the MPL was not distributed with this
7# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8#
9# See the COPYRIGHT file distributed with this work for additional
10# information regarding copyright ownership.
11
12SYSTEMTESTTOP=..
13. $SYSTEMTESTTOP/conf.sh
14
15# enable the tsiggss test only if gssapi was enabled
16$FEATURETEST --gssapi ||  {
17        echo_i "gssapi and krb5 not supported - skipping tsiggss test"
18        exit 255
19}
20
21exit 0
22