Code

Fixing defaults to work
authorTon Voon <tonvoon@users.sourceforge.net>
Fri, 24 Mar 2006 17:26:30 +0000 (17:26 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Fri, 24 Mar 2006 17:26:30 +0000 (17:26 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1357 f882894a-f735-0410-b71e-b25c423dba1c

plugins/t/check_dns.t

index 9a95e808598b8521a578d3c2ab7b5a6999e2babe..3874657c47ca3ee03790b0b13eab84636a0011bc 100644 (file)
@@ -18,19 +18,19 @@ my $successOutput = '/DNS OK: [\.0-9]+ seconds response time/';
 my $hostname_valid = getTestParameter( 
                        "NP_HOSTNAME_VALID",
                        "A valid (known to DNS) hostname",
-                       "www.apple.com"
+                       "apple.com"
                        );
 
 my $hostname_valid_ip = getTestParameter(
                        "NP_HOSTNAME_VALID_IP",
                        "The IP address of the valid hostname $hostname_valid",
-                       "17.112.152.32"
+                       "17.254.3.183"
                        );
 
 my $hostname_valid_reverse = getTestParameter(
                        "NP_HOSTNAME_VALID_REVERSE",
                        "The hostname of $hostname_valid_ip",
-                       $hostname_valid
+                       $hostname_valid."."
                        );
 
 my $hostname_invalid = getTestParameter(