diff options
-rw-r--r-- | t/Nagios-Plugin-Getopt-03.t | 3 |
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; | |||
8 | use Test::More qw(no_plan); | 8 | use Test::More qw(no_plan); |
9 | BEGIN { use_ok('Nagios::Plugin::Getopt') }; | 9 | BEGIN { use_ok('Nagios::Plugin::Getopt') }; |
10 | 10 | ||
11 | # Needed to get evals to work in testing | ||
12 | Nagios::Plugin::Functions::_use_die(1); | ||
13 | |||
11 | my $tdir = 'npg03'; | 14 | my $tdir = 'npg03'; |
12 | if (! -d $tdir) { | 15 | if (! -d $tdir) { |
13 | my $ttdir = File::Spec->catdir('t', $tdir); | 16 | my $ttdir = File::Spec->catdir('t', $tdir); |