[Nagiosplug-checkins] CVS: nagiosplug/plugins/t check_procs.t,1.1.1.1,1.1.1.1.2.1

Ton Voon tonvoon at users.sourceforge.net
Sat May 17 10:47:06 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins/t
In directory sc8-pr-cvs1:/tmp/cvs-serv16100/t

Modified Files:
      Tag: r1_3_0
	check_procs.t 
Log Message:
Fixed test commands (Mathew Ericson - 738605)


Index: check_procs.t
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/t/check_procs.t,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -r1.1.1.1 -r1.1.1.1.2.1
*** check_procs.t	28 Feb 2002 06:43:00 -0000	1.1.1.1
--- check_procs.t	17 May 2003 17:46:21 -0000	1.1.1.1.2.1
***************
*** 14,18 ****
  
  # Reverse Compatibility
! $cmd = "./check_procs 100000 100000";
  $str = `$cmd`;
  $t += ok $?>>8,0;
--- 14,18 ----
  
  # Reverse Compatibility
! $cmd = "./check_procs -w 100000 -c 100000";
  $str = `$cmd`;
  $t += ok $?>>8,0;
***************
*** 21,25 ****
  
  # Reverse Compatibility
! $cmd = "./check_procs 100000 100000 Z";
  $str = `$cmd`;
  $t += ok $?>>8,0;
--- 21,25 ----
  
  # Reverse Compatibility
! $cmd = "./check_procs -w 100000 -c 100000 -s Z";
  $str = `$cmd`;
  $t += ok $?>>8,0;
***************
*** 28,32 ****
  
  # Reverse Compatibility
! $cmd = "./check_procs 0 10000000";
  $str = `$cmd`;
  $t += ok $?>>8,1;
--- 28,32 ----
  
  # Reverse Compatibility
! $cmd = "./check_procs -w 0 -c 10000000";
  $str = `$cmd`;
  $t += ok $?>>8,1;
***************
*** 35,39 ****
  
  # Reverse Compatibility
! $cmd = "./check_procs 0 0";
  $str = `$cmd`;
  $t += ok $?>>8,2;
--- 35,39 ----
  
  # Reverse Compatibility
! $cmd = "./check_procs -w 0 -c 0";
  $str = `$cmd`;
  $t += ok $?>>8,2;
***************
*** 42,46 ****
  
  # Reverse Compatibility
! $cmd = "./check_procs 0 0 S";
  $str = `$cmd`;
  $t += ok $?>>8,2;
--- 42,46 ----
  
  # Reverse Compatibility
! $cmd = "./check_procs -w 0 -c 0 -s S";
  $str = `$cmd`;
  $t += ok $?>>8,2;





More information about the Commits mailing list