[omd-commits] OMD Git: omd: added test for fping

git version control git at mathias-kettner.de
Thu Dec 22 18:20:19 CET 2011


Module:   omd
Branch:   master
Commit:   c620ec00e2fd3c8352bd90206c2c5864e15943e8
URL:      http://omdistro.org/projects/omd/repository/revisions/c620ec00e2fd3c8352bd90206c2c5864e15943e8

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Thu Dec 22 18:20:00 2011 +0100
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Thu Dec 22 18:20:00 2011 +0100

added test for fping

---

 t/20-package_nagios_plugins.t |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/t/20-package_nagios_plugins.t b/t/20-package_nagios_plugins.t
index ee94747..ac48efc 100644
--- a/t/20-package_nagios_plugins.t
+++ b/t/20-package_nagios_plugins.t
@@ -12,7 +12,7 @@ BEGIN {
     use lib "$FindBin::Bin/lib/lib/perl5";
 }
 
-plan( tests => 22 );
+plan( tests => 26 );
 
 ##################################################
 # create our test site
@@ -23,6 +23,7 @@ my $site    = TestUtils::create_test_site() or TestUtils::bail_out_clean("no fur
 # execute some checks
 my $tests = [
   { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_icmp'",     exit => 3, like => '/check_icmp: No hosts to check/' },
+  { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_fping'",    exit => 3, like => '/check_fping: Could not parse arguments/' },
   { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_snmp'",     exit => 3, like => '/check_snmp: Could not parse arguments/' },
   { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_mysql'",    exit => 2, like => '/Can\'t connect to local MySQL server through socket/' },
   { cmd => "/bin/su - $site -c 'lib/nagios/plugins/check_logfiles'", exit => 3, like => '/Usage: check_logfiles/' },



More information about the omd-commits mailing list