From dec782d31f1bc95eeea068ca1582b639fbce3fd0 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Thu, 27 Mar 2008 20:45:07 +0000 Subject: Missing section test was failing because of this git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1964 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/t/Nagios-Plugin-Getopt-03.t b/t/Nagios-Plugin-Getopt-03.t index 557a2c6..11443c8 100644 --- a/t/Nagios-Plugin-Getopt-03.t +++ b/t/Nagios-Plugin-Getopt-03.t @@ -8,6 +8,9 @@ use IO::File; 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); -- cgit v0.10-9-g596f