xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/statschannel/prereq.sh (revision dd3ee07da436799d8de85f3055253118b76bf345)
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 https://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
15fail=0
16
17if $PERL -e 'use File::Fetch;' 2>/dev/null
18then
19        :
20else
21    echo_i "This test requires the File::Fetch library." >&2
22    fail=1
23fi
24
25exit $fail
26