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