bind9/bin/tests/system/dlzexternal/prereq.sh
Evan Hunt 45fd95544c [v9_11] simplify prereq checks by using feature-test.c
4498.	[test]		Simplify prerequisite checks in system tests.
			[RT #43516]

(cherry picked from commit 5480a74b70)
2016-10-31 17:47:42 -07:00

16 lines
465 B
Bash

#!/bin/sh
#
# Copyright (C) 2010-2012, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
#
# 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 http://mozilla.org/MPL/2.0/.
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
$FEATURETEST --have-dlopen || {
echo "I:dlopen() not supported - skipping dlzexternal test"
exit 255
}
exit 0