From 597dbf782b17156025cba2be7bbcb22628bc8542 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 18 Dec 2007 14:24:19 +0000 Subject: 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 diff --git a/Changes b/Changes index 86f1d9f..ab710a2 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl module Nagios::Plugin. +0.23 18th December 2007 + - Use $^X for perl in check_stuff.t test, due to lots of failing in CPAN Testers + 0.22 13th December 2007 - Fixed handling of repeated ini arguments 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); # CPAN stupidly won't index this module without a literal $VERSION here, # so we're forced to duplicate it explicitly # Make sure you update $Nagios::Plugin::Functions::VERSION too -our $VERSION = "0.22"; +our $VERSION = "0.23"; # our $VERSION = $Nagios::Plugin::Functions::VERSION; 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); use Math::Calc::Units; # Remember to update Nagios::Plugins as well -our $VERSION = "0.22"; +our $VERSION = "0.23"; our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); 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; my ($r,$args); my $s = 't/check_stuff.pl'; -$s = 'perl -Ilib '.$s; +$s = "$^X -Ilib $s"; my $n = 'STUFF'; -- cgit v0.10-9-g596f