summaryrefslogtreecommitdiffstats
path: root/t/Nagios-Plugin.t
diff options
context:
space:
mode:
authorGavin Carr <gonzai@users.sourceforge.net>2006-09-11 01:57:26 +0000
committerGavin Carr <gonzai@users.sourceforge.net>2006-09-11 01:57:26 +0000
commit1f8410dd1914449ce52ffa8fd47a308c5b372e52 (patch)
treedc14d10c159541daa211ef59f8d69e859e05fd13 /t/Nagios-Plugin.t
parentbc239b3bd5023ed2da77ab03c581e56a4772f1d4 (diff)
downloadmonitoring-plugin-perl-1f8410dd1914449ce52ffa8fd47a308c5b372e52.tar.gz
Add constants, nagios_exit, and nagios_die to Nagios::Plugin::Base.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1477 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 't/Nagios-Plugin.t')
-rw-r--r--t/Nagios-Plugin.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/Nagios-Plugin.t b/t/Nagios-Plugin.t
index ed25aca..8921dc5 100644
--- a/t/Nagios-Plugin.t
+++ b/t/Nagios-Plugin.t
@@ -5,8 +5,7 @@ use Test::More tests => 9;
5BEGIN { use_ok('Nagios::Plugin') }; 5BEGIN { use_ok('Nagios::Plugin') };
6 6
7use Nagios::Plugin::Base; 7use Nagios::Plugin::Base;
8Nagios::Plugin::Base->exit_on_die(0); 8Nagios::Plugin::Base::_fake_exit(1);
9Nagios::Plugin::Base->print_on_die(0);
10 9
11diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n"; 10diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n";
12 11