From 6625e6a0d2a4cec99339b8b526035592dcd4418c Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 24 Sep 2007 18:45:59 +0000 Subject: 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 --- t/Nagios-Plugin-Getopt-04.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't/Nagios-Plugin-Getopt-04.t') diff --git a/t/Nagios-Plugin-Getopt-04.t b/t/Nagios-Plugin-Getopt-04.t index 9092636..115f2a2 100644 --- a/t/Nagios-Plugin-Getopt-04.t +++ b/t/Nagios-Plugin-Getopt-04.t @@ -5,6 +5,9 @@ use strict; use Test::More tests => 11; BEGIN { use_ok('Nagios::Plugin::Getopt') }; +# Needed to get evals to work in testing +Nagios::Plugin::Functions::_use_die(1); + my %PARAM = ( version => '0.01', usage => "Don't use this plugin!", -- cgit v1.2.3-74-g34f1