summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2007-12-18 14:24:19 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2007-12-18 14:24:19 +0000
commit597dbf782b17156025cba2be7bbcb22628bc8542 (patch)
tree3d8ad0d8c2a243132a21d8837f78d6d8d2f5699a
parentdcea0a8d474610425ebf1d308ec7a734e9eb4067 (diff)
downloadmonitoring-plugin-perl-597dbf782b17156025cba2be7bbcb22628bc8542.tar.gz
Use $^X for perl because of failures on CPAN Testers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1878 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--Changes3
-rw-r--r--lib/Nagios/Plugin.pm2
-rw-r--r--lib/Nagios/Plugin/Functions.pm2
-rwxr-xr-xt/check_stuff.t2
4 files changed, 6 insertions, 3 deletions
diff --git a/Changes b/Changes
index 86f1d9f..ab710a2 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
1Revision history for Perl module Nagios::Plugin. 1Revision history for Perl module Nagios::Plugin.
2 2
30.23 18th December 2007
4 - Use $^X for perl in check_stuff.t test, due to lots of failing in CPAN Testers
5
30.22 13th December 2007 60.22 13th December 2007
4 - Fixed handling of repeated ini arguments 7 - Fixed handling of repeated ini arguments
5 8
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm
index b7ca60b..1e5ee1b 100644
--- a/lib/Nagios/Plugin.pm
+++ b/lib/Nagios/Plugin.pm
@@ -25,7 +25,7 @@ our @EXPORT_OK = qw(%ERRORS);
25# CPAN stupidly won't index this module without a literal $VERSION here, 25# CPAN stupidly won't index this module without a literal $VERSION here,
26# so we're forced to duplicate it explicitly 26# so we're forced to duplicate it explicitly
27# Make sure you update $Nagios::Plugin::Functions::VERSION too 27# Make sure you update $Nagios::Plugin::Functions::VERSION too
28our $VERSION = "0.22"; 28our $VERSION = "0.23";
29# our $VERSION = $Nagios::Plugin::Functions::VERSION; 29# our $VERSION = $Nagios::Plugin::Functions::VERSION;
30 30
31sub new { 31sub new {
diff --git a/lib/Nagios/Plugin/Functions.pm b/lib/Nagios/Plugin/Functions.pm
index ac023fa..2ac555c 100644
--- a/lib/Nagios/Plugin/Functions.pm
+++ b/lib/Nagios/Plugin/Functions.pm
@@ -12,7 +12,7 @@ use Params::Validate qw(:types validate);
12use Math::Calc::Units; 12use Math::Calc::Units;
13 13
14# Remember to update Nagios::Plugins as well 14# Remember to update Nagios::Plugins as well
15our $VERSION = "0.22"; 15our $VERSION = "0.23";
16 16
17our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); 17our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT);
18 18
diff --git a/t/check_stuff.t b/t/check_stuff.t
index 64f95ae..2815b76 100755
--- a/t/check_stuff.t
+++ b/t/check_stuff.t
@@ -6,7 +6,7 @@ use Test::More tests => 14;
6 6
7my ($r,$args); 7my ($r,$args);
8my $s = 't/check_stuff.pl'; 8my $s = 't/check_stuff.pl';
9$s = 'perl -Ilib '.$s; 9$s = "$^X -Ilib $s";
10 10
11my $n = 'STUFF'; 11my $n = 'STUFF';
12 12