diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-09-24 18:45:59 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-09-24 18:45:59 +0000 |
commit | 6625e6a0d2a4cec99339b8b526035592dcd4418c (patch) | |
tree | 85971687f4bfef6a7f30595522f2454c73f4b2af /t/Nagios-Plugin-Getopt-01.t | |
parent | 7fb5ed0f0a95ce5817e0b0f7c3bba91968393d49 (diff) | |
download | monitoring-plugin-perl-6625e6a0d2a4cec99339b8b526035592dcd4418c.tar.gz |
Help, usage and version output go to stdout now, rather than stderr
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1795 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 't/Nagios-Plugin-Getopt-01.t')
-rw-r--r-- | t/Nagios-Plugin-Getopt-01.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/Nagios-Plugin-Getopt-01.t b/t/Nagios-Plugin-Getopt-01.t index bad1367..7076d75 100644 --- a/t/Nagios-Plugin-Getopt-01.t +++ b/t/Nagios-Plugin-Getopt-01.t | |||
@@ -5,6 +5,9 @@ use strict; | |||
5 | use Test::More tests => 76; | 5 | use Test::More tests => 76; |
6 | BEGIN { use_ok('Nagios::Plugin::Getopt') }; | 6 | BEGIN { use_ok('Nagios::Plugin::Getopt') }; |
7 | 7 | ||
8 | # Needed to get evals to work in testing | ||
9 | Nagios::Plugin::Functions::_use_die(1); | ||
10 | |||
8 | my %PARAM = ( | 11 | my %PARAM = ( |
9 | version => '0.01', | 12 | version => '0.01', |
10 | url => 'http://www.openfusion.com.au/labs/nagios/', | 13 | url => 'http://www.openfusion.com.au/labs/nagios/', |