From 44a321cb8a42d6c0ea2d96a1086a17f2134c89cc Mon Sep 17 00:00:00 2001 From: Ethan Galstad Date: Thu, 28 Feb 2002 06:42:51 +0000 Subject: Initial revision git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c --- plugins-scripts/t/check_rpc.t | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 plugins-scripts/t/check_rpc.t (limited to 'plugins-scripts/t') diff --git a/plugins-scripts/t/check_rpc.t b/plugins-scripts/t/check_rpc.t new file mode 100644 index 00000000..afcb867c --- /dev/null +++ b/plugins-scripts/t/check_rpc.t @@ -0,0 +1,19 @@ +use strict; +use Test; +use vars qw($tests); + +BEGIN {$tests = 2; plan tests => $tests} + +my $null = ''; +my $cmd; +my $str; +my $t=0; + +$cmd = "./check_rpc -V"; +$str = `$cmd`; +$t += ok $?>>8,0; +print "Test was: $cmd\n" if ($?); +$t += ok $str, '/^check_rpc/'; + +exit(0) if defined($Test::Harness::VERSION); +exit($tests - $t); -- cgit v1.2.3-74-g34f1