[Nagiosplug-checkins] CVS: nagiosplug/plugins/t check_tcp.t,1.1.1.1,1.1.1.1.2.1
Ton Voon
tonvoon at users.sourceforge.net
Sat May 17 10:34:19 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins/t
In directory sc8-pr-cvs1:/tmp/cvs-serv10987
Modified Files:
Tag: r1_3_0
check_tcp.t
Log Message:
Fixed tests (Mathew Ericson - 738604)
Index: check_tcp.t
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/t/check_tcp.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_tcp.t 28 Feb 2002 06:43:00 -0000 1.1.1.1
--- check_tcp.t 17 May 2003 17:33:52 -0000 1.1.1.1.2.1
***************
*** 17,21 ****
$t += ok $?>>8,0;
print "$cmd\n" if ($?);
! $t += ok $str, '/^TCP OK - [0-9]+ second response time on port 80/';
$cmd = "./check_tcp $Cache::nullhost -p 81 -wt 0 -ct 0 -to 1";
--- 17,21 ----
$t += ok $?>>8,0;
print "$cmd\n" if ($?);
! $t += ok $str, '/^TCP OK\s-\s+[0-9]?\.?[0-9]+ second response time on port 80/';
$cmd = "./check_tcp $Cache::nullhost -p 81 -wt 0 -ct 0 -to 1";
More information about the Commits
mailing list