diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:48:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:48:22 +0000 |
commit | 7373ce3d6988706388f136e1c06afd20a3e8d5be (patch) | |
tree | e9ae5af7d102667e5706187646db45de8238e8c4 /plugins-scripts/t/check_rpc.t | |
parent | Initial commit. (diff) | |
download | monitoring-plugins-upstream.tar.xz monitoring-plugins-upstream.zip |
Adding upstream version 2.3.5.upstream/2.3.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins-scripts/t/check_rpc.t')
-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); |