[Nagiosplug-checkins] Nagios-Plugin/t Nagios-Plugin-Functions-01.t, 1.1, 1.2

Gavin Carr gonzai at users.sourceforge.net
Sat Nov 11 06:18:48 CET 2006


Update of /cvsroot/nagiosplug/Nagios-Plugin/t
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29809/t

Modified Files:
	Nagios-Plugin-Functions-01.t 
Log Message:
Add get_shortname to NP::Functions export_ok list; update perldocs.

Index: Nagios-Plugin-Functions-01.t
===================================================================
RCS file: /cvsroot/nagiosplug/Nagios-Plugin/t/Nagios-Plugin-Functions-01.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Nagios-Plugin-Functions-01.t	26 Sep 2006 01:10:23 -0000	1.1
+++ Nagios-Plugin-Functions-01.t	11 Nov 2006 05:18:46 -0000	1.2
@@ -1,6 +1,6 @@
 
 use strict;
-use Test::More tests => 111;
+use Test::More tests => 112;
 
 BEGIN { use_ok("Nagios::Plugin::Functions", ":all"); }
 Nagios::Plugin::Functions::_fake_exit(1);
@@ -15,6 +15,9 @@
 	is($a, $this_version, "Version number for $mod the same as Functions: $this_version");
 }
 
+# check get_shortname
+is(get_shortname, "NAGIOS-PLUGIN-FUNCTIONS-01", "get_shortname ok");
+
 # Hardcoded checks of constants
 ok(defined %ERRORS, '%ERRORS defined');
 is(OK,          $ERRORS{OK},            "OK        => $ERRORS{OK}");





More information about the Commits mailing list