blob: afcb867c394cb1c8c7dc54ca8b619d6ff8950fc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
use strict;
use Test;
use vars qw($tests);
BEGIN {$tests = 2; plan tests => $tests}
my $null = '';
my $cmd;
my $str;
my $t=0;
$cmd = "./check_rpc -V";
$str = `$cmd`;
$t += ok $?>>8,0;
print "Test was: $cmd\n" if ($?);
$t += ok $str, '/^check_rpc/';
exit(0) if defined($Test::Harness::VERSION);
exit($tests - $t);
|