diff options
author | Nicolai <NicolaiSoeborg@users.noreply.github.com> | 2016-12-23 22:59:42 +0100 |
---|---|---|
committer | Nicolai <NicolaiSoeborg@users.noreply.github.com> | 2016-12-23 22:59:42 +0100 |
commit | 6a0f4fe275bdf1c90de3d1b611293cf57cc3887b (patch) | |
tree | 31a2708d65e6b03301f35a3ec5df3abe6d8b93a7 /plugins/t | |
parent | b9f00386a17290d7c6d900bcb4c25a13e8d1b368 (diff) | |
download | monitoring-plugins-6a0f4fe275bdf1c90de3d1b611293cf57cc3887b.tar.gz |
check_dns: Small test cleanup
Diffstat (limited to 'plugins/t')
-rw-r--r-- | plugins/t/NPTest.cache.travis | 2 | ||||
-rw-r--r-- | plugins/t/check_dns.t | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/t/NPTest.cache.travis b/plugins/t/NPTest.cache.travis index 8f72a55d..38c0a6b2 100644 --- a/plugins/t/NPTest.cache.travis +++ b/plugins/t/NPTest.cache.travis @@ -4,7 +4,7 @@ 'NP_DNS_SERVER' => '8.8.8.8', 'NP_GOOD_NTP_SERVICE' => '', 'NP_HOSTNAME_INVALID' => 'nosuchhost', - 'NP_HOSTNAME_VALID' => 'monitoringplugins.org', + 'NP_HOSTNAME_VALID' => 'monitoring-plugins.org', 'NP_HOSTNAME_VALID_IP' => '130.133.8.40', 'NP_HOSTNAME_VALID_CIDR' => '130.133.8.41/30', 'NP_HOSTNAME_INVALID_CIDR' => '130.133.8.39/30', diff --git a/plugins/t/check_dns.t b/plugins/t/check_dns.t index 3dbb7186..cdfbe60d 100644 --- a/plugins/t/check_dns.t +++ b/plugins/t/check_dns.t @@ -17,7 +17,7 @@ my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/'; my $hostname_valid = getTestParameter( "NP_HOSTNAME_VALID", "A valid (known to DNS) hostname", - "monitoring-plugins.org" + "monitoring-plugins.org", ); my $hostname_valid_ip = getTestParameter( @@ -34,14 +34,14 @@ my $hostname_valid_cidr = getTestParameter( my $hostname_invalid_cidr = getTestParameter( "NP_HOSTNAME_INVALID_CIDR", - "An valid CIDR range not containing $hostname_valid_ip", + "An (valid) CIDR range NOT containing $hostname_valid_ip", "130.133.8.39/30", ); my $hostname_valid_reverse = getTestParameter( "NP_HOSTNAME_VALID_REVERSE", "The hostname of $hostname_valid_ip", - "66-118-156-50.static.sagonet.net.", + "orwell.monitoring-plugins.org.", ); my $hostname_invalid = getTestParameter( |