[omd-commits] OMD Git: omd: thruk: Use thruk' cmd.cgi to instead of nagios' while testing . This should work with all cores.
git version control
git at mathias-kettner.de
Sun Sep 9 13:56:17 CEST 2012
Module: omd
Branch: master
Commit: b4a279d92400f56c9d6223df423db4ed6d2cd1ed
URL: http://omdistro.org/projects/omd/repository/revisions/b4a279d92400f56c9d6223df423db4ed6d2cd1ed
Author: Joerg Linge <pitchfork at pnp4nagios.org>
Date: Sun Sep 9 13:54:35 2012 +0200
Commiter: Joerg Linge <pitchfork at pnp4nagios.org>
Date: Sun Sep 9 13:54:35 2012 +0200
thruk: Use thruk' cmd.cgi to instead of nagios' while testing. This should work with all cores.
---
t/20-package_thruk.t | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/20-package_thruk.t b/t/20-package_thruk.t
index a4aaed0..09f1d6c 100644
--- a/t/20-package_thruk.t
+++ b/t/20-package_thruk.t
@@ -184,7 +184,7 @@ for my $core (qw/nagios shinken icinga/) {
TestUtils::wait_for_file("/omd/sites/$site/tmp/run/live") or TestUtils::bail_out_clean("No need to test Thruk without livestatus connection");
unlink('var/thruk/obj_retention.dat');
- TestUtils::test_command({ cmd => "/bin/su - $site -c './lib/nagios/plugins/check_http -H localhost -a omdadmin:omd -u /$site/nagios/cgi-bin/cmd.cgi -e 200 -P \"cmd_typ=7&cmd_mod=2&host=omd-$site&service=Dummy+Service&start_time=2010-11-06+09%3A46%3A02&force_check=on&btnSubmit=Commit\" -r \"Your command request was successfully submitted\"'", like => '/HTTP OK:/' });
+ TestUtils::test_command({ cmd => "/bin/su - $site -c './lib/nagios/plugins/check_http -H localhost -a omdadmin:omd -u /$site/thruk/cgi-bin/cmd.cgi -e 200 -P \"cmd_typ=7&cmd_mod=2&host=omd-$site&service=Dummy+Service&start_time=2010-11-06+09%3A46%3A02&force_check=on&btnSubmit=Commit\" -r \"Your command request was successfully submitted\"'", like => '/HTTP OK:/' });
TestUtils::wait_for_file("/omd/sites/$site/var/pnp4nagios/perfdata/omd-$site/Dummy_Service_omd-dummy.rrd") or TestUtils::bail_out_clean("No need to test Thruk without working pnp");;
for my $test (@{$tests}) {
More information about the omd-commits
mailing list