[Nagiosplug-checkins] Nagios-Plugin/t Nagios-Plugin-Base.t, NONE, 1.1
Ton Voon
tonvoon at users.sourceforge.net
Thu Aug 31 10:19:04 CEST 2006
- Previous message: [Nagiosplug-checkins] Nagios-Plugin/lib/Nagios/Plugin Base.pm, 1.2, 1.3 Getopt.pm, 1.1, 1.2 Performance.pm, 1.4, 1.5 Range.pm, 1.3, 1.4 Threshold.pm, 1.3, 1.4
- Next message: [Nagiosplug-checkins] Nagios-Plugin/t Nagios-Plugin-Getopt-01.t, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/Nagios-Plugin/t
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19018/t
Added Files:
Nagios-Plugin-Base.t
Log Message:
Consistent version numbers across all modules. Inherited from Nagios::Plugin::Base
--- NEW FILE: Nagios-Plugin-Base.t ---
use strict;
use Test::More tests => 11;
use_ok("Nagios::Plugin::Base");
my $this_version=$Nagios::Plugin::Base::VERSION;
foreach my $m ("", qw(::Threshold ::Getopt ::Performance ::Range)) {
my $mod = "Nagios::Plugin$m";
use_ok($mod);
# Lots of hackery below. Easier to say $mod->VERSION, but this is probably a recent perl thing
my $v = "$mod"."::VERSION";
my $a = eval "\$$v";
is($a, $this_version, "Version number for $mod the same as Base: $this_version");
}
- Previous message: [Nagiosplug-checkins] Nagios-Plugin/lib/Nagios/Plugin Base.pm, 1.2, 1.3 Getopt.pm, 1.1, 1.2 Performance.pm, 1.4, 1.5 Range.pm, 1.3, 1.4 Threshold.pm, 1.3, 1.4
- Next message: [Nagiosplug-checkins] Nagios-Plugin/t Nagios-Plugin-Getopt-01.t, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list