NEWS: Mention "contrib" removal
[monitoring-plugins.git] / plugins-scripts / t / check_rpc.t
blobbe8ae2f77c9e8f012c4d818dd8ddb27a43514ea6
1 #! /usr/bin/perl -w -I ..
3 # Remote Procedure Call (RPC) Tests via check_rpc
7 use strict;
8 use Test;
9 use NPTest;
11 use vars qw($tests);
12 BEGIN {$tests = 2; plan tests => $tests}
14 my $successOutput = '/^check_rpc/';
16 my $t;
18 $t += checkCmd( "./check_rpc -V", 0, $successOutput );
20 exit(0) if defined($Test::Harness::VERSION);
21 exit($tests - $t);