xref: /openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/docs/changes.t (revision f2a19305cfc49ea4d1a5feb55cd6c283c6f1e031)
1*f2a19305Safresh1#!/usr/bin/perl
2*f2a19305Safresh1#
3*f2a19305Safresh1# Check Changes file for compliance with CPAN::Changes::Spec.
4*f2a19305Safresh1#
5*f2a19305Safresh1# The canonical version of this file is maintained in the rra-c-util package,
6*f2a19305Safresh1# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
7*f2a19305Safresh1#
8*f2a19305Safresh1# Copyright 2021 Russ Allbery <eagle@eyrie.org>
9*f2a19305Safresh1#
10*f2a19305Safresh1# Permission is hereby granted, free of charge, to any person obtaining a
11*f2a19305Safresh1# copy of this software and associated documentation files (the "Software"),
12*f2a19305Safresh1# to deal in the Software without restriction, including without limitation
13*f2a19305Safresh1# the rights to use, copy, modify, merge, publish, distribute, sublicense,
14*f2a19305Safresh1# and/or sell copies of the Software, and to permit persons to whom the
15*f2a19305Safresh1# Software is furnished to do so, subject to the following conditions:
16*f2a19305Safresh1#
17*f2a19305Safresh1# The above copyright notice and this permission notice shall be included in
18*f2a19305Safresh1# all copies or substantial portions of the Software.
19*f2a19305Safresh1#
20*f2a19305Safresh1# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21*f2a19305Safresh1# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22*f2a19305Safresh1# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
23*f2a19305Safresh1# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24*f2a19305Safresh1# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25*f2a19305Safresh1# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26*f2a19305Safresh1# DEALINGS IN THE SOFTWARE.
27*f2a19305Safresh1#
28*f2a19305Safresh1# SPDX-License-Identifier: MIT
29*f2a19305Safresh1
30*f2a19305Safresh1use 5.010;
31*f2a19305Safresh1use strict;
32*f2a19305Safresh1use warnings;
33*f2a19305Safresh1
34*f2a19305Safresh1use lib 't/lib';
35*f2a19305Safresh1
36*f2a19305Safresh1use Test::RRA qw(skip_unless_automated use_prereq);
37*f2a19305Safresh1
38*f2a19305Safresh1use Test::More;
39*f2a19305Safresh1
40*f2a19305Safresh1# Skip this test for normal user installs.
41*f2a19305Safresh1skip_unless_automated('Changes format tests');
42*f2a19305Safresh1
43*f2a19305Safresh1# Load prerequisite modules.
44*f2a19305Safresh1use_prereq('Test::CPAN::Changes');
45*f2a19305Safresh1
46*f2a19305Safresh1# Run the tests.
47*f2a19305Safresh1changes_ok();
48