[Nagios-checkins] nagios/t 920-nocontactgroup.t,1.1,1.2

Ton Voon tonvoon at users.sourceforge.net
Fri Sep 24 19:30:51 UTC 2010


Update of /cvsroot/nagios/nagios/t
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8650/t

Modified Files:
	920-nocontactgroup.t 
Log Message:
Minor typos in test comments (Bernd A)


Index: 920-nocontactgroup.t
===================================================================
RCS file: /cvsroot/nagios/nagios/t/920-nocontactgroup.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** 920-nocontactgroup.t	29 Mar 2010 14:51:38 -0000	1.1
--- 920-nocontactgroup.t	24 Sep 2010 19:30:48 -0000	1.2
***************
*** 1,5 ****
  #!/usr/bin/perl
  # 
! # Check that no service gives the correct message
  
  use warnings;
--- 1,5 ----
  #!/usr/bin/perl
  # 
! # Check that no contactgroup gives the correct message
  
  use warnings;
***************
*** 17,20 ****
  
  my $output = `$nagios -v "$etc/nagios-no-contactgroup.cfg"`;
! like( $output, "/Error: Could not find any contactgroup matching 'nonexistantone'/", "Correct error for no services" );
  isnt($?, 0, "And get return code error" );
--- 17,20 ----
  
  my $output = `$nagios -v "$etc/nagios-no-contactgroup.cfg"`;
! like( $output, "/Error: Could not find any contactgroup matching 'nonexistantone'/", "Correct error for no contactgroup" );
  isnt($?, 0, "And get return code error" );





More information about the Nagios-commits mailing list