[icinga-checkins] icinga.org: icinga-core/hbaecker/perl-tests: Added nodaemoncheck for cginotification.t

git at icinga.org git at icinga.org
Wed Jan 20 11:27:15 CET 2010


Module: icinga-core
Branch: hbaecker/perl-tests
Commit: 3cb3aea05dcc0416f6c4e18881c78cd201896da2
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=3cb3aea05dcc0416f6c4e18881c78cd201896da2

Author: Hendrik Baecker <andurin at process-zero.de>
Date:   Wed Jan 20 11:24:06 2010 +0100

Added nodaemoncheck for cginotification.t

---

 t/616cginotification.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/616cginotification.t b/t/616cginotification.t
index 72bbea4..f4ea4b0 100644
--- a/t/616cginotification.t
+++ b/t/616cginotification.t
@@ -17,7 +17,7 @@ my $output;
 
 plan tests => 5;
 
-$output = `NAGIOS_CGI_CONFIG=etc/cgi.cfg REQUEST_METHOD=GET $notifications_cgi`;
+$output = `NAGIOS_CGI_CONFIG=etc/cgi.cfg REQUEST_METHOD=GET QUERY_STRING='nodaemoncheck'  $notifications_cgi`;
 like( $output, "/<input type='hidden' name='host' value='all'>/", "Host value set to all if nothing set" );
 
 $output = `NAGIOS_CGI_CONFIG=etc/cgi.cfg REQUEST_METHOD=GET QUERY_STRING='nodaemoncheck&host=all' $notifications_cgi`;





More information about the icinga-checkins mailing list