mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-03 18:49:29 -05:00
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
21 lines
348 B
Perl
21 lines
348 B
Perl
#! /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", 0, $successOutput );
|
|
|
|
exit(0) if defined($Test::Harness::VERSION);
|
|
exit($tests - $t);
|