[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1964] Nagios-Plugin/trunk/t/ Nagios-Plugin-Getopt-03.t
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Thu Mar 27 21:45:09 CET 2008
Revision: 1964
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1964&view=rev
Author: dermoth
Date: 2008-03-27 13:45:07 -0700 (Thu, 27 Mar 2008)
Log Message:
-----------
Missing section test was failing because of this
Modified Paths:
--------------
Nagios-Plugin/trunk/t/Nagios-Plugin-Getopt-03.t
Modified: Nagios-Plugin/trunk/t/Nagios-Plugin-Getopt-03.t
===================================================================
--- Nagios-Plugin/trunk/t/Nagios-Plugin-Getopt-03.t 2008-03-26 14:41:38 UTC (rev 1963)
+++ Nagios-Plugin/trunk/t/Nagios-Plugin-Getopt-03.t 2008-03-27 20:45:07 UTC (rev 1964)
@@ -8,6 +8,9 @@
use Test::More qw(no_plan);
BEGIN { use_ok('Nagios::Plugin::Getopt') };
+# Needed to get evals to work in testing
+Nagios::Plugin::Functions::_use_die(1);
+
my $tdir = 'npg03';
if (! -d $tdir) {
my $ttdir = File::Spec->catdir('t', $tdir);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list