summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57c4d46)
raw | patch | inline | side by side (parent: 57c4d46)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Sat, 17 May 2003 17:36:25 +0000 (17:36 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Sat, 17 May 2003 17:36:25 +0000 (17:36 +0000) |
CV: ----------------------------------------------------------------------
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@517 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@517 f882894a-f735-0410-b71e-b25c423dba1c
plugins/t/check_tcp.t | patch | blob | history |
diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t
index 1abec769bb6255104cb9b26090bc9d9fe87738bb..21c3b774541553e8b1a9ed2b5abf3c883ec462c5 100644 (file)
--- a/plugins/t/check_tcp.t
+++ b/plugins/t/check_tcp.t
$str = `$cmd`;
$t += ok $?>>8,0;
print "$cmd\n" if ($?);
-$t += ok $str, '/^TCP OK - [0-9]+ second response time on port 80/';
+$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";
$str = `$cmd`;