Browse Source

fixed check_tcp test

A check with thresholds 9000,1 must exit with warning if the certificate expires in less
than 9000 but more than one day.
Sven Nierlein 12 years ago
parent
commit
817ea52cc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/t/check_tcp.t

+ 1 - 1
plugins/t/check_tcp.t

@@ -32,7 +32,7 @@ $t += checkCmd( "./check_tcp $host_tcp_http      -p 81 -wt   0 -ct   0 -to 1", 2
 $t += checkCmd( "./check_tcp $host_nonresponsive -p 80 -wt   0 -ct   0 -to 1", 2 );
 $t += checkCmd( "./check_tcp $hostname_invalid   -p 80 -wt   0 -ct   0 -to 1", 2 );
 $t += checkCmd( "./check_tcp -S -D 1 -H www.verisign.com -p 443",              0 );
-$t += checkCmd( "./check_tcp -S -D 9000,1    -H www.verisign.com -p 443",      0 );
+$t += checkCmd( "./check_tcp -S -D 9000,1    -H www.verisign.com -p 443",      1 );
 $t += checkCmd( "./check_tcp -S -D 9000      -H www.verisign.com -p 443",      1 );
 $t += checkCmd( "./check_tcp -S -D 9000,8999 -H www.verisign.com -p 443",      2 );
 $t += checkCmd( "./check_tcp -6 -p 80 www.heise.de",                           0 );