diff options
author | Gavin Carr <gonzai@users.sourceforge.net> | 2006-09-11 01:57:26 +0000 |
---|---|---|
committer | Gavin Carr <gonzai@users.sourceforge.net> | 2006-09-11 01:57:26 +0000 |
commit | 1f8410dd1914449ce52ffa8fd47a308c5b372e52 (patch) | |
tree | dc14d10c159541daa211ef59f8d69e859e05fd13 /t/Nagios-Plugin.t | |
parent | bc239b3bd5023ed2da77ab03c581e56a4772f1d4 (diff) | |
download | monitoring-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.t | 3 |
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; | |||
5 | BEGIN { use_ok('Nagios::Plugin') }; | 5 | BEGIN { use_ok('Nagios::Plugin') }; |
6 | 6 | ||
7 | use Nagios::Plugin::Base; | 7 | use Nagios::Plugin::Base; |
8 | Nagios::Plugin::Base->exit_on_die(0); | 8 | Nagios::Plugin::Base::_fake_exit(1); |
9 | Nagios::Plugin::Base->print_on_die(0); | ||
10 | 9 | ||
11 | diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n"; | 10 | diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n"; |
12 | 11 | ||