diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-03-27 20:45:07 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-03-27 20:45:07 +0000 |
commit | dec782d31f1bc95eeea068ca1582b639fbce3fd0 (patch) | |
tree | c4565b54f83dd59f9b557076df6ab02b3b0a5406 | |
parent | 9d5427f392b4b03b7fd558b4be628653d140f6c0 (diff) | |
download | monitoring-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.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); |