diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-02-09 10:33:01 +0100 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-02-09 10:33:07 +0100 |
commit | 98ec26cc6da0892b6ca7c0f02b10191d8c73f607 (patch) | |
tree | dafc68ef79206f1b51194d2b85463d5e2e7cbd9f /tests | |
parent | 9887b870d197f2c768275185bdb38e64754bcfed (diff) | |
download | wget-98ec26cc6da0892b6ca7c0f02b10191d8c73f607.tar.gz |
Fix warning to not print binary IP address
* tests/Test-https-badcerts.px: Likewise
* tests/Test-https-clientcert.px: Likewise
* tests/Test-https-crl.px: Likewise
* tests/Test-https-pfs.px: Likewise
* tests/Test-https-selfsigned.px: Likewise
* tests/Test-https-tlsv1.px: Likewise
* tests/Test-https-tlsv1x.px: Likewise
* tests/Test-https-weboftrust.px: Likewise
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Test-https-badcerts.px | 2 | ||||
-rwxr-xr-x | tests/Test-https-clientcert.px | 2 | ||||
-rwxr-xr-x | tests/Test-https-crl.px | 2 | ||||
-rwxr-xr-x | tests/Test-https-pfs.px | 2 | ||||
-rwxr-xr-x | tests/Test-https-selfsigned.px | 2 | ||||
-rwxr-xr-x | tests/Test-https-tlsv1.px | 2 | ||||
-rwxr-xr-x | tests/Test-https-tlsv1x.px | 2 | ||||
-rwxr-xr-x | tests/Test-https-weboftrust.px | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/tests/Test-https-badcerts.px b/tests/Test-https-badcerts.px index 672cca48..5619377d 100644 --- a/tests/Test-https-badcerts.px +++ b/tests/Test-https-badcerts.px @@ -48,7 +48,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } diff --git a/tests/Test-https-clientcert.px b/tests/Test-https-clientcert.px index f0bc7396..810defb7 100755 --- a/tests/Test-https-clientcert.px +++ b/tests/Test-https-clientcert.px @@ -47,7 +47,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } diff --git a/tests/Test-https-crl.px b/tests/Test-https-crl.px index 9b048259..3e8eb67b 100755 --- a/tests/Test-https-crl.px +++ b/tests/Test-https-crl.px @@ -47,7 +47,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } diff --git a/tests/Test-https-pfs.px b/tests/Test-https-pfs.px index 627bd678..d28eec69 100755 --- a/tests/Test-https-pfs.px +++ b/tests/Test-https-pfs.px @@ -47,7 +47,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } diff --git a/tests/Test-https-selfsigned.px b/tests/Test-https-selfsigned.px index 1f48a2bf..632017fe 100755 --- a/tests/Test-https-selfsigned.px +++ b/tests/Test-https-selfsigned.px @@ -47,7 +47,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } diff --git a/tests/Test-https-tlsv1.px b/tests/Test-https-tlsv1.px index 684cc6a4..d62e6a5d 100755 --- a/tests/Test-https-tlsv1.px +++ b/tests/Test-https-tlsv1.px @@ -47,7 +47,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } diff --git a/tests/Test-https-tlsv1x.px b/tests/Test-https-tlsv1x.px index 37e6ca1d..ee3f6941 100755 --- a/tests/Test-https-tlsv1x.px +++ b/tests/Test-https-tlsv1x.px @@ -48,7 +48,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } diff --git a/tests/Test-https-weboftrust.px b/tests/Test-https-weboftrust.px index 0e8120f5..7180e236 100755 --- a/tests/Test-https-weboftrust.px +++ b/tests/Test-https-weboftrust.px @@ -47,7 +47,7 @@ unless ($addr) } unless (inet_ntoa($addr) =~ "127.0.0.1") { - warn "Failed to resolve $$addr, using $srcdir/certs/wgethosts\n"; + warn "Unexpected IP for localhost: ".inet_ntoa($addr)."\n"; exit 77; } |