mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
27 lines
652 B
Plaintext
27 lines
652 B
Plaintext
|
#!/usr/bin/perl
|
||
|
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
use File::Basename;
|
||
|
use lib "./tests-lib/perl5";
|
||
|
use mancheck_utils;
|
||
|
|
||
|
# Set this to the bare command to test
|
||
|
my $command = 'backup';
|
||
|
my $builddir = $ENV{BUILD};
|
||
|
if (!$builddir) {
|
||
|
$builddir = dirname($0) . "/..";
|
||
|
}
|
||
|
$builddir .= "/..";
|
||
|
# Set this to the directory holding $command
|
||
|
my $srcdir = "$builddir/src/bucoord";
|
||
|
|
||
|
#---------------------------------------------------------------------
|
||
|
|
||
|
# Keep track of number of tests we ran. We don't know up front.
|
||
|
my $testcount = 0;
|
||
|
|
||
|
check_command_binary("$srcdir/$command");
|
||
|
my $count = test_command_man_pages($builddir, "$srcdir/$command");
|
||
|
done_testing($count);
|