X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=tests%2Fptserver%2Fpts-man-t;h=60645ea2bfb40cedc6ab78e4b290abf0e905a616;hp=cac87e0109c5f20bd86227b41b6072275cb1a986;hb=04605389d7ac89c32e4b2576d4894b4da94d3a24;hpb=b88ff242df03f7332945793422e7c16c423b7e76 diff --git a/tests/ptserver/pts-man-t b/tests/ptserver/pts-man-t index cac87e0..60645ea 100755 --- a/tests/ptserver/pts-man-t +++ b/tests/ptserver/pts-man-t @@ -18,9 +18,8 @@ my $srcdir = "$builddir/src/ptserver"; #--------------------------------------------------------------------- -# Keep track of number of tests we ran. We don't know up front. -my $testcount = 0; +my @sub_commands = lookup_sub_commands($srcdir, $command); +plan tests => scalar @sub_commands; + +test_command_man_pages($builddir, $command, @sub_commands); -check_command_binary("$srcdir/$command"); -my $count = test_command_man_pages($builddir, "$srcdir/$command"); -done_testing($count);