summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/t/check_rpc.t
blob: c58f7bf79bce2abb16af73f2b4e785eed7413510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /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;

$t += checkCmd( "./check_rpc -V",   3, $successOutput );

exit(0) if defined($Test::Harness::VERSION);
exit($tests - $t);