Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / tests / bucoord / backup-man-t
CommitLineData
805e021f
CE
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5use File::Basename;
6use lib "./tests-lib/perl5";
7use mancheck_utils;
8
9# Set this to the bare command to test
10my $command = 'backup';
11my $builddir = $ENV{BUILD};
12if (!$builddir) {
13 $builddir = dirname($0) . "/..";
14}
15$builddir .= "/..";
16# Set this to the directory holding $command
17my $srcdir = "$builddir/src/bucoord";
18
19#---------------------------------------------------------------------
20
21my @sub_commands = lookup_sub_commands($srcdir, $command);
22plan tests => scalar @sub_commands;
23
24test_command_man_pages($builddir, $command, @sub_commands);
25