SF.net SVN: nagiosplug: [1964] Nagios-Plugin/trunk/t/ Nagios-Plugin-Getopt-03.t

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
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.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.