summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);