Merge 1.8.0~pre4 packaging into master
[pkg-k5-afs_openafs.git] / tests / bozo / bos-man-t
blobfedcf5863de9edfc02aef0f99274b11a48522bfd
1 #!/usr/bin/perl
3 use strict;
4 use warnings;
5 use File::Basename;
6 use lib "./tests-lib/perl5";
7 use mancheck_utils;
9 # Set this to the bare command to test
10 my $command = 'bos';
11 my $builddir = $ENV{BUILD};
12 if (!$builddir) {
13 $builddir = dirname($0) . "/..";
15 $builddir .= "/..";
16 # Set this to the directory holding $command
17 my $srcdir = "$builddir/src/bozo";
19 #---------------------------------------------------------------------
21 my @sub_commands = lookup_sub_commands($srcdir, $command);
22 plan tests => scalar @sub_commands;
24 test_command_man_pages($builddir, $command, @sub_commands);