diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-12-18 14:24:19 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-12-18 14:24:19 +0000 |
commit | 597dbf782b17156025cba2be7bbcb22628bc8542 (patch) | |
tree | 3d8ad0d8c2a243132a21d8837f78d6d8d2f5699a | |
parent | dcea0a8d474610425ebf1d308ec7a734e9eb4067 (diff) | |
download | monitoring-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-- | Changes | 3 | ||||
-rw-r--r-- | lib/Nagios/Plugin.pm | 2 | ||||
-rw-r--r-- | lib/Nagios/Plugin/Functions.pm | 2 | ||||
-rwxr-xr-x | t/check_stuff.t | 2 |
4 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,8 @@ | |||
1 | Revision history for Perl module Nagios::Plugin. | 1 | Revision history for Perl module Nagios::Plugin. |
2 | 2 | ||
3 | 0.23 18th December 2007 | ||
4 | - Use $^X for perl in check_stuff.t test, due to lots of failing in CPAN Testers | ||
5 | |||
3 | 0.22 13th December 2007 | 6 | 0.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 |
28 | our $VERSION = "0.22"; | 28 | our $VERSION = "0.23"; |
29 | # our $VERSION = $Nagios::Plugin::Functions::VERSION; | 29 | # our $VERSION = $Nagios::Plugin::Functions::VERSION; |
30 | 30 | ||
31 | sub new { | 31 | sub 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); | |||
12 | use Math::Calc::Units; | 12 | use Math::Calc::Units; |
13 | 13 | ||
14 | # Remember to update Nagios::Plugins as well | 14 | # Remember to update Nagios::Plugins as well |
15 | our $VERSION = "0.22"; | 15 | our $VERSION = "0.23"; |
16 | 16 | ||
17 | our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); | 17 | our @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 | ||
7 | my ($r,$args); | 7 | my ($r,$args); |
8 | my $s = 't/check_stuff.pl'; | 8 | my $s = 't/check_stuff.pl'; |
9 | $s = 'perl -Ilib '.$s; | 9 | $s = "$^X -Ilib $s"; |
10 | 10 | ||
11 | my $n = 'STUFF'; | 11 | my $n = 'STUFF'; |
12 | 12 | ||