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; }