[icinga-checkins] icinga.org: icinga-core/hbaecker/threaded-trimming: correct typo fix in t/ 623cmd-local.t

git at icinga.org git at icinga.org
Sun Jan 10 13:39:39 CET 2010


Module: icinga-core
Branch: hbaecker/threaded-trimming
Commit: 44c2f8b8cc4e1247675f32eb99f440201e6bfb92
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=44c2f8b8cc4e1247675f32eb99f440201e6bfb92

Author: Hendrik Baecker <andurin at process-zero.de>
Date:   Sat Jan  9 11:07:55 2010 +0100

correct typo fix in t/623cmd-local.t

---

 t/623cmd-local.t |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/623cmd-local.t b/t/623cmd-local.t
index 56aa94c..e29d7b6 100644
--- a/t/623cmd-local.t
+++ b/t/623cmd-local.t
@@ -60,7 +60,7 @@ unlike( $output, "/Sorry, but no information is available for this command./", "
 # Tests against command type '5'
 $cmd_typ=5;
 $output = `NAGIOS_CGI_CONFIG=etc/cgi.cfg $remote_user REQUEST_METHOD=GET QUERY_STRING='cmd_typ=$cmd_typ' $local_cgi`;
-like( $output, "/You are requesting to enable actice checks of a particular service/", "$local_cgi with cmd_typ=$cmd_typ shows enable active service checks form" );
+like( $output, "/You are requesting to enable active checks of a particular service/", "$local_cgi with cmd_typ=$cmd_typ shows enable active service checks form" );
 like( $output, "/<td CLASS='optBoxRequiredItem'>Host Name:</td>/", "$local_cgi with cmd_typ=$cmd_typ requires Host Name in form" );
 like( $output, "/<td CLASS='optBoxRequiredItem'>Service:</td>/", "$local_cgi with cmd_typ=$cmd_typ requires Service in form" );
 unlike( $output, "/Sorry, but no information is available for this command./", "$local_cgi with cmd_typ=$cmd_typ has a command description" );
@@ -68,7 +68,7 @@ unlike( $output, "/Sorry, but no information is available for this command./", "
 # Tests against command type '6'
 $cmd_typ=6;
 $output = `NAGIOS_CGI_CONFIG=etc/cgi.cfg $remote_user REQUEST_METHOD=GET QUERY_STRING='cmd_typ=$cmd_typ' $local_cgi`;
-like( $output, "/You are requesting to disable actice checks of a particular service/", "$local_cgi with cmd_typ=$cmd_typ shows disable active service checks form" );
+like( $output, "/You are requesting to disable active checks of a particular service/", "$local_cgi with cmd_typ=$cmd_typ shows disable active service checks form" );
 like( $output, "/<td CLASS='optBoxRequiredItem'>Host Name:</td>/", "$local_cgi with cmd_typ=$cmd_typ requires Host Name in form" );
 like( $output, "/<td CLASS='optBoxRequiredItem'>Service:</td>/", "$local_cgi with cmd_typ=$cmd_typ requires Service in form" );
 unlike( $output, "/Sorry, but no information is available for this command./", "$local_cgi with cmd_typ=$cmd_typ has a command description" );





More information about the icinga-checkins mailing list