Explorar o código

check_fping.t: unresolvable address returns unknown status

Marcel Telka %!s(int64=2) %!d(string=hai) anos
pai
achega
ced1b0cd02
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/t/check_fping.t

+ 1 - 1
plugins/t/check_fping.t

@@ -31,7 +31,7 @@ if ( -x "./check_fping" )
 {
   $t += checkCmd( "./check_fping $host_responsive",    0,       $successOutput );
   $t += checkCmd( "./check_fping $host_nonresponsive", [ 1, 2 ] );
-  $t += checkCmd( "./check_fping $hostname_invalid",   [ 1, 2 ] );
+  $t += checkCmd( "./check_fping $hostname_invalid",   3 );
 }
 else
 {