2013-11-26 22:53:19 +00:00
|
|
|
#! /usr/bin/perl -w -I ..
|
|
|
|
#
|
|
|
|
# Remote Procedure Call (RPC) Tests via check_rpc
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use Test;
|
|
|
|
use NPTest;
|
|
|
|
|
|
|
|
use vars qw($tests);
|
|
|
|
BEGIN {$tests = 2; plan tests => $tests}
|
|
|
|
|
|
|
|
my $successOutput = '/^check_rpc/';
|
|
|
|
|
|
|
|
my $t;
|
|
|
|
|
2016-11-30 11:36:55 +00:00
|
|
|
$t += checkCmd( "./check_rpc -V", 3, $successOutput );
|
2013-11-26 22:53:19 +00:00
|
|
|
|
|
|
|
exit(0) if defined($Test::Harness::VERSION);
|
|
|
|
exit($tests - $t);
|