summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-03-27 20:45:07 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-03-27 20:45:07 +0000
commitdec782d31f1bc95eeea068ca1582b639fbce3fd0 (patch)
treec4565b54f83dd59f9b557076df6ab02b3b0a5406
parent9d5427f392b4b03b7fd558b4be628653d140f6c0 (diff)
downloadmonitoring-plugin-perl-dec782d31f1bc95eeea068ca1582b639fbce3fd0.tar.gz
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
-rw-r--r--t/Nagios-Plugin-Getopt-03.t3
1 files changed, 3 insertions, 0 deletions
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;
8use Test::More qw(no_plan); 8use Test::More qw(no_plan);
9BEGIN { use_ok('Nagios::Plugin::Getopt') }; 9BEGIN { use_ok('Nagios::Plugin::Getopt') };
10 10
11# Needed to get evals to work in testing
12Nagios::Plugin::Functions::_use_die(1);
13
11my $tdir = 'npg03'; 14my $tdir = 'npg03';
12if (! -d $tdir) { 15if (! -d $tdir) {
13 my $ttdir = File::Spec->catdir('t', $tdir); 16 my $ttdir = File::Spec->catdir('t', $tdir);