diff options
Diffstat (limited to '')
-rw-r--r-- | plugins-scripts/t/check_rpc.t | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins-scripts/t/check_rpc.t b/plugins-scripts/t/check_rpc.t new file mode 100644 index 0000000..c58f7bf --- /dev/null +++ b/plugins-scripts/t/check_rpc.t @@ -0,0 +1,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); |